-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add 5g to sysparams #469
Add 5g to sysparams #469
Changes from 52 commits
3f127c8
7ca979d
2b845b2
4c99842
8770bce
fe9dd94
e1e8d53
9642276
8894409
e696eea
dc2a147
95ac632
5df5d42
223d6de
c212750
979add7
eedd53e
a013a7f
a8bd46c
9bd7d70
cedd631
d6b854d
452a431
a7f306f
576ec6f
0b47c90
a9b9845
ddddb9e
c6e9f06
ecc5589
495650a
47b44d7
8982395
f8db90e
d7801e4
06ff6a8
3a2ec33
2fe84a8
0174024
1b1b57b
e4a8835
59d65f1
ee515a8
d41d567
a431a7c
4a7656b
432b528
dabdcfb
616d28d
58af423
0227052
e725519
96e1c8b
a6ce163
f1bfad9
f5cf3bc
ec36396
8ebeb1c
979c149
c97979b
552cbcb
448c9bd
fa65f16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,7 +139,7 @@ def to_modelica(self, scaffold, keep_original_models=False): | |
|
||
prj.used_library_calc = "IBPSA" | ||
prj.number_of_elements_calc = self.system_parameters.get_param_by_building_id( | ||
self.building_id, "load_model_parameters.rc.order", default=2 | ||
self.building_id, "load_model_parameters.rc.order" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is the default no longer needed? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct. I removed the "default" parameter from this method. What if default values were pulled from the schema if they aren't explicitly called out in the sys-param file? Or at least hinted, if a param is missing? The |
||
) | ||
prj.merge_windows_calc = False | ||
|
||
|
@@ -310,15 +310,15 @@ def post_process(self, scaffold, keep_original_models=False): | |
) | ||
|
||
fraction_latent_person = self.system_parameters.get_param( | ||
"buildings.default.load_model_parameters.rc.fraction_latent_person", default=1.25 | ||
"buildings.load_model_parameters.rc.fraction_latent_person", default=1.25 | ||
) | ||
|
||
use_moisture_balance = self.system_parameters.get_param( | ||
"buildings.default.load_model_parameters.rc.use_moisture_balance", default='false' | ||
"buildings.load_model_parameters.rc.use_moisture_balance", default='false' | ||
) | ||
|
||
n_ports = self.system_parameters.get_param( | ||
"buildings.default.load_model_parameters.rc.nPorts", default=0 | ||
"buildings.load_model_parameters.rc.nPorts", default=0 | ||
) | ||
|
||
# create a new parameter for fraction latent person | ||
|
@@ -372,7 +372,7 @@ def post_process(self, scaffold, keep_original_models=False): | |
|
||
# add new port connections | ||
rc_order = self.system_parameters.get_param_by_building_id( | ||
self.building_id, "load_model_parameters.rc.order", default=2 | ||
self.building_id, "load_model_parameters.rc.order" | ||
) | ||
thermal_zone_name = None | ||
thermal_zone_type = None | ||
|
@@ -643,7 +643,7 @@ def post_process(self, scaffold, keep_original_models=False): | |
) | ||
else: | ||
raise Exception( | ||
f"Missing MOS weather file for Spawn: {building_template_data['mos_weather']['mos_weather_filename']}") | ||
f"Missing MOS weather file for Teaser: {building_template_data['mos_weather']['mos_weather_filename']}") | ||
# end of what AA added 9/24 | ||
|
||
# remaining clean up tasks across the entire exported project | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how it's done in urbanopt sdk. 😆 😬 🤷