File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 119119}
120120
121121__CGM_RELAXED_2_PROVIDER = {
122- 'loadPowerFactorConstant' : 'False' , # cim:PowerFlowSettings.loadVoltageDependency "false" ; TODO - check this
122+ # 'loadPowerFactorConstant': 'False', # cim:PowerFlowSettings.loadVoltageDependency "false" ; TODO - check this
123+ 'loadPowerFactorConstant' : 'True' ,
123124 'maxOuterLoopIterations' : '30' , # eumd:PowerFlowSettings.maxIterationNumber "30"
124125 'lowImpedanceThreshold' : '1.0E-5' , # cim:PowerFlowSettings.impedanceThreshold "1e-05" ;
125126 'newtonRaphsonStoppingCriteriaType' : 'PER_EQUATION_TYPE_CRITERIA' ,
214215 read_slack_bus = True ,
215216 write_slack_bus = False ,
216217 distributed_slack = True , # cim:PowerFlowSettings.slackDistributionKind cim:SlackDistributionKind.generationDistributionActivePowerAndVoltageNodesOnly ;
217- balance_type = pypowsybl ._pypowsybl .BalanceType .PROPORTIONAL_TO_GENERATION_REMAINING_MARGIN , #cim:PowerFlowSettings.slackDistributionKind cim:SlackDistributionKind.generationDistributionActivePowerAndVoltageNodesOnly ;
218+ # balance_type=pypowsybl._pypowsybl.BalanceType.PROPORTIONAL_TO_GENERATION_REMAINING_MARGIN, #cim:PowerFlowSettings.slackDistributionKind cim:SlackDistributionKind.generationDistributionActivePowerAndVoltageNodesOnly ;
219+ balance_type = pypowsybl ._pypowsybl .BalanceType .PROPORTIONAL_TO_CONFORM_LOAD ,
218220 dc_use_transformer_ratio = None ,
219221 countries_to_balance = None ,
220222 connected_component_mode = pypowsybl ._pypowsybl .ConnectedComponentMode .ALL ,
You can’t perform that action at this time.
0 commit comments