From 5d838a3765c8ff68cf3d025bd75141480d744d75 Mon Sep 17 00:00:00 2001 From: James Tomlinson Date: Tue, 6 Aug 2024 10:28:00 +0100 Subject: [PATCH] fix: AggregatedStorageNode's default attribute changed to Volume. --- pywr-schema/src/nodes/core.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywr-schema/src/nodes/core.rs b/pywr-schema/src/nodes/core.rs index 94719fa5..cb2f8f0c 100644 --- a/pywr-schema/src/nodes/core.rs +++ b/pywr-schema/src/nodes/core.rs @@ -831,7 +831,7 @@ pub struct AggregatedStorageNode { } impl AggregatedStorageNode { - const DEFAULT_ATTRIBUTE: NodeAttribute = NodeAttribute::Outflow; + const DEFAULT_ATTRIBUTE: NodeAttribute = NodeAttribute::Volume; pub fn input_connectors(&self) -> Vec<(&str, Option)> { // Not connectable