ElectricalSetting.AddDistributionSysType
Description:
Add a new distribution system type to project.
Add a new distribution system type to project.
public DistributionSysType AddDistributionSysType(
string name,
ElectricalPhase phase,
ElectricalPhaseConfiguration phaseConfig,
int numWire,
VoltageType volLineToLine,
VoltageType volLineToGround
)
-
StringnameThe name of new added distribution system type
-
phaseSingle or three phase this type is
-
phaseConfigConfiguration property of given phase
-
Int32numWireWire number of this distribution system
-
volLineToLineType of line to line voltage in this system
-
volLineToGroundType of line to ground voltage in this system
-
The name can't benullNothingnullptra null reference (Nothingin Visual Basic), empty string, or equal with any existing one, phaseConfig should be defined and numWire can only be 3 or 4 in case of three phase, numWire can only be 2 or 3 in case of single phase, otherwise exception will be thrown.