Lines Class |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:dss_sharp.Lines"]
Namespace: dss_sharp
The Lines type exposes the following members.
| Name | Description | |
|---|---|---|
| AllNames |
Array of strings with all Line names in the circuit.
| |
| Bus1 |
Name of bus for terminal 1.
| |
| Bus2 |
Name of bus for terminal 2.
| |
| C0 |
Zero Sequence capacitance, nanofarads per unit length.
| |
| C1 |
Positive Sequence capacitance, nanofarads per unit length.
| |
| Cmatrix | ||
| Count |
Number of Line objects in active circuit.
| |
| EmergAmps |
Emergency (maximum) ampere rating of Line.
| |
| First |
Sets the first Line active. Returns 0 if no more.
| |
| Geometry |
Line geometry code
| |
| idx |
Get/set active Line by index; index is 1-based: 1..count
| |
| IsSwitch |
Sets/gets the Line element switch status. Setting it has side-effects to the line parameters.
| |
| Length |
Length of line section in units compatible with the LineCode definition.
| |
| LineCode |
Name of LineCode object that defines the impedances.
| |
| Name |
Sets the active Line by Name.
| |
| Next |
Sets the next Line active. Returns 0 if no more.
| |
| NormAmps |
Normal ampere rating of Line.
| |
| NumCust |
Number of customers on this line section.
| |
| Parent |
Sets Parent of the active Line to be the active line. Returns 0 if no parent or action fails.
| |
| Phases |
Number of Phases, this Line element.
| |
| R0 |
Zero Sequence resistance, ohms per unit length.
| |
| R1 |
Positive Sequence resistance, ohms per unit length.
| |
| Rg |
Earth return resistance value used to compute line impedances at power frequency
| |
| Rho |
Earth Resistivity, m-ohms
| |
| Rmatrix |
Resistance matrix (full), ohms per unit length. Array of doubles.
| |
| SeasonRating |
Delivers the rating for the current season (in Amps) if the "SeasonalRatings" option is active
| |
| Spacing |
Line spacing code
| |
| TotalCust |
Total Number of customers served from this line section.
| |
| Units | ||
| X0 |
Zero Sequence reactance ohms per unit length.
| |
| X1 |
Positive Sequence reactance, ohms per unit length.
| |
| Xg |
Earth return reactance value used to compute line impedances at power frequency
| |
| Xmatrix | ||
| Yprim |
Yprimitive: Does Nothing at present on Put; Dangerous
|
| Name | Description | |
|---|---|---|
| CheckForError | (Inherited from ContextState.) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetContextHandle |
Returns the low-level handle of the current OpenDSS/DSS-CAPI instance.
(Inherited from ContextState.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| New | ||
| ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| apiutil | (Inherited from ContextState.) | |
| ctx | (Inherited from ContextState.) |