modelDistributionSystemModelicaIndividual

Information

This model generates Modelica code of models equivalent to DistributionSystemModelica which don't use arrays and for loops, but rather declare each model and each connection individually.

This model can be used to check the overhead of instantiating large numbesr of individual models compared to arrays, and also to check the ability of compilers to factor out the code of instances of the same component.

Parameters

TypeNameDefaultDescription
IntegerN10Number of segments of the primary distribution line
IntegerMNNumber of segments of each secondary distribution line
Realalpha2Distribution line oversizing factor
Modelica.Units.SI.ResistanceR_l1Resistance of a single load

Contents

NameDescription
print