Skip to content

Commit bc14598

Browse files
authored
Merge pull request #1532 from NREL-Sienna/pesap/pump_hydro
fix: Add serialization to `HydroReservoir` in `HydroPumpTurbine` components
2 parents 45b83e7 + 4c07920 commit bc14598

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/models/serialization.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const _ENCODE_AS_UUID_A = (
55
Union{Nothing, LoadZone},
66
Union{Nothing, DynamicInjection},
77
Union{Nothing, StaticInjection},
8+
Union{Nothing, HydroReservoir},
89
Vector{Service},
910
Vector{HydroReservoir},
1011
)
@@ -17,6 +18,7 @@ const _ENCODE_AS_UUID_B =
1718
LoadZone,
1819
DynamicInjection,
1920
StaticInjection,
21+
HydroReservoir,
2022
Vector{Service},
2123
Vector{HydroReservoir},
2224
)

0 commit comments

Comments
 (0)