Skip to content

Commit 52fd836

Browse files
End-Use Option default value fix
1 parent 64b0908 commit 52fd836

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/geophires_x/SurfacePlant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def __init__(self, model: Model):
234234

235235
self.enduse_option = self.ParameterDict[self.enduse_option.Name] = intParameter(
236236
"End-Use Option",
237-
value=EndUseOptions.ELECTRICITY, # TODO should be DefaultValue instead
237+
DefaultValue=EndUseOptions.ELECTRICITY.int_value,
238238
AllowableRange=[1, 2, 31, 32, 41, 42, 51, 52],
239239
ValuesEnum=EndUseOptions,
240240
UnitType=Units.NONE,

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@
838838
"type": "integer",
839839
"units": null,
840840
"category": "Surface Plant",
841-
"default": null,
841+
"default": 1,
842842
"minimum": 1,
843843
"maximum": 52,
844844
"enum_values": [

0 commit comments

Comments
 (0)