From cc1bb93399749e2c19c9bb824dd46bc901d1d96e Mon Sep 17 00:00:00 2001 From: James Tomlinson Date: Tue, 6 Aug 2024 11:00:48 +0100 Subject: [PATCH] fix: AggregatedStorageNode's default attribute changed to Volume. (#238) --- 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