#include <ElectricalData.h>
Public Member Functions | |
| line_t () | |
| Default constructor. | |
| line_t (unsigned from, unsigned to, Complex y) | |
Public Attributes | |
| unsigned | from |
| Nodes connected by the line. | |
| unsigned | to |
| Complex | y |
| Admittance of the line. | |
| Complex | B |
| Line charging. | |
| int | tside |
| Transformer side. This should be to or from or -1 if there is no transformer. | |
| double | turns |
| Transformer turns ratio. | |
| double | phase_shift |
| Transformer phase shift in radians. | |
Structure that describes a transmission line.
Definition at line 53 of file ElectricalData.h.
| ElectricalData::line_t::line_t | ( | unsigned | from, | |
| unsigned | to, | |||
| Complex | y | |||
| ) | [inline] |
Create a line from not "from" to "to" with admittance y.
Definition at line 62 of file ElectricalData.h.
1.6.1