mirror of
https://rs-loy-gitlab.concordia.ca/PMAU/DynamicBuildingSimulation.git
synced 2024-12-22 21:15:43 -05:00
Added 1 to fit with the length needed by FAST_READD
This commit is contained in:
parent
33774a76c1
commit
d738ba242f
@ -121,7 +121,7 @@ class ThermalDemandDynamicSimulation:
|
||||
else:
|
||||
n_records += 2
|
||||
inputs = [f"{n_hoy}.1"]
|
||||
parameters = [f"{n_records * 13} %[RecLen]",
|
||||
parameters = [f"{n_records * 13 + 1} %[RecLen]",
|
||||
f"'{weather_path}' %[FileName]",
|
||||
f"',' %[Separator]"]
|
||||
file = Insel.add_block(file, i_block, 'UBFAST_READD', inputs, parameters)
|
||||
@ -131,7 +131,7 @@ class ThermalDemandDynamicSimulation:
|
||||
n_ig = i_block
|
||||
n_records = number_usage_zones * 6
|
||||
inputs = [f"{n_hoy}.1"]
|
||||
parameters = [f"{n_records * 13} %[RecLen]",
|
||||
parameters = [f"{n_records * 13 + 1} %[RecLen]",
|
||||
f"'{ig_path}' %[FileName]",
|
||||
f"',' %[Separator]"]
|
||||
file = Insel.add_block(file, i_block, 'UBFAST_READD', inputs, parameters)
|
||||
|
Loading…
Reference in New Issue
Block a user