to_gridcal#

andes.interop.gridcal.to_gridcal(ssa, verify=True, tol=1e-06)[source]#

Convert an ANDES system to a GridCal grid.

Parameters:
ssaandes.system.System

The ANDES system to be converted

verifybool

If True, the converted network will be verified with the source ANDES system using AC power flow.

tolfloat

The tolerance of error when comparing power flow solutions.

Returns:
GridCal.Engine.Core.multi_circuit.MultiCircuit

A GridCal net with the same bus, branch, gen, and load data as the ANDES system

Notes

Handling of the following parameters:

  • By default, all generators in ssp are controllable unless user-defined controllability is given

  • The online status of generators are determined by the online status of StaticGen that connected to the SynGen or DG

  • ssp.gen.name is from ssa.StaticGen.idx, which should be unique