You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"connections"=> [data_eng["load"]["load$(e)_phase$(phase)"]["connections"][1], 4], #TODO: SHOULD THIS [1] BE "PHASE" HERE FOR MULTIPHASE? It looks like not. # Note: From PMD tutorial: "create a generator with the same connection setting."
449
+
"connections"=> [data_eng["load"]["load$(e)_phase$(phase)"]["connections"][1], 4], # data_eng["load"]["load$(e)_phase$(phase)"]["connections"][1] will show the phase connection for that load. Does this only work with single phase loads? Note: From PMD tutorial: "create a generator with the same connection setting."
451
450
"configuration"=> WYE,
452
451
)
453
452
end
@@ -470,6 +469,8 @@ function Create_PMD_Model_For_REopt_Integration(Multinode_Inputs, PMD_number_of_
470
469
throw(@error("The PMD_network_input input format is not valid"))
471
470
end
472
471
472
+
@info"Completed parsing the .dss file"
473
+
473
474
REopt_nodes = REopt.GenerateREoptNodesList(Multinode_Inputs) # Generate a list of the REopt nodes
474
475
475
476
ApplyDataEngSettings(data_eng, Multinode_Inputs)
@@ -480,11 +481,12 @@ function Create_PMD_Model_For_REopt_Integration(Multinode_Inputs, PMD_number_of_
480
481
481
482
data_math_mn =transform_data_model(data_eng, multinetwork=true) # Transforming the engineering model to a mathematical model in PMD
482
483
483
-
# Initialize voltage variable values.
484
+
# Initialize voltage variable values:
485
+
@info"running add_start_vrvi"
484
486
Start_vrvi =now()
485
487
add_start_vrvi!(data_math_mn)
486
488
End_vrvi =now()
487
-
489
+
488
490
# Measure and report the time for initializing the voltage variable values
throw(@error("The REopt node $(node_temp) does not have an assigned critical load timeseries profile in the critical_load_timeseries input dictionary"))
1180
+
if Multinode_Inputs.critical_load_method =="TimeSeries"
throw(@error("The REopt node $(node_temp) does not have an assigned critical load timeseries profile in the critical_load_timeseries input dictionary"))
1184
+
end
1179
1185
end
1180
1186
end
1187
+
1181
1188
end
1182
1189
#TODO: add data check to ensure that if a critical load method is defined, then there must be either a critical load fraction or a critical load timeseries dictionary
0 commit comments