Skip to content

Commit 392be53

Browse files
Implement default value for surface plant properly
1 parent 88d6774 commit 392be53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/geophires_x/SurfacePlant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def __init__(self, model: Model):
240240
)
241241
self.plant_type = self.ParameterDict[self.plant_type.Name] = intParameter(
242242
"Power Plant Type",
243-
value=PlantType.SUB_CRITICAL_ORC,
243+
DefaultValue=PlantType.SUB_CRITICAL_ORC,
244244
AllowableRange=[1, 2, 3, 4, 5, 6, 7, 8, 9],
245245
UnitType=Units.NONE,
246246
ErrMessage="assume default power plant type (1: subcritical ORC)",

0 commit comments

Comments
 (0)