modelType2ModelBuilder_N_1_M_1

Builds Type2 grid with N = 1, M = 1, tap changers optional

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
IntegerN2Number of basic grid cells
IntegerM2Number of HV lines connected to each EHV_LOAD node
BooleanuseTaptrue= true to use transformers with tap changers
BooleannoEvfalse= true if model should not generate events
RealUMax60e3Max HV voltage for tap changers
RealUStop59e3Stop HV voltage for tap changers
String[2]node{"GEN", "LOAD"}

Components

TypeNameDefaultDescription
StringfModelica.Utilities.Files.loadResource("modelica://ScalableTestGrids/Models/Type2/Type2_" + (if not useTap then "noTap__" elseif noEv then "tapNoEv" else "tapEv__") + "_N_" + String(N) + "_M_" + String(M) + ".mo")

Contents

NameDescription
print