File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def process_cnecs(self):
227227 cnec = models .FlowCnec (
228228 id = f"{ ae ['IdentifiedObject.mRID' ]} " ,
229229 name = ae ['IdentifiedObject.name' ],
230- description = ae ['IdentifiedObject.description' ],
230+ description = ae ['IdentifiedObject.description' ] or "" ,
231231 networkElementId = ae ['AssessedElement.ConductingEquipment' ],
232232 operator = ae ['AssessedElement.AssessedSystemOperator' ],
233233 thresholds = [models .Threshold ()],
Original file line number Diff line number Diff line change 8383 read_slack_bus = False ,
8484 write_slack_bus = True ,
8585 distributed_slack = True ,
86- balance_type = pypowsybl .loadflow .BalanceType .PROPORTIONAL_TO_GENERATION_REMAINING_MARGIN ,
86+ balance_type = pypowsybl .loadflow .BalanceType .PROPORTIONAL_TO_GENERATION_P_MAX ,
8787 dc_use_transformer_ratio = True ,
8888 countries_to_balance = [],
8989 connected_component_mode = pypowsybl .loadflow .ConnectedComponentMode .ALL ,
You can’t perform that action at this time.
0 commit comments