Skip to main content

Module defaults

Module defaults 

Source
Expand description

OpenDSS constructor defaults for the phase A classes.

Values come from the object constructors in epri-dev/OpenDSS-C and are verified empirically against the engine (opendssdirect via tools/verify_defaults.py; rerun it when bumping the engine). The reader materializes these into explicit model values and records each materialization in DistNetwork::defaulted.

The generator note: the constructor sets kW=1000, PF=0.88, kvar=60 (generator.cpp, member init), while the property display strings claim kW=100, PF=0.80; the engine reports the constructor values, so those are the defaults here.

Modules§

capacitor
generator
line
Sequence impedances in ohm per unit length, capacitance in nF per unit length, with units = none (factor 1).
linecode
load
reactor
TReactorObj.Create (Reactor.pas): 3 phases, 100 kvar, 12.47 kV, wye. Unlike the capacitor’s 1200 kvar bank, the reactor constructor seeds a 100 kvar rating.
transformer
vsource

Constants§

BASE_FREQUENCY
Base frequency when no Set DefaultBaseFrequency appears.

Functions§

unit_to_meters
GetUnitsCode + To_Meters from Shared/LineUnits.cpp. The engine matches on the first two characters; no* and anything unrecognized are UNITS_NONE, which has no conversion factor.