![]() |
deltaFlow
|
Small pieces of business/formatting logic shared by all OutputFile writers. More...
Classes | |
| struct | BusTotals |
| Aggregate bus totals (load/gen) used in the bus-data result tables. More... | |
| struct | BusTypeCounts |
| Bus type counts (Slack/PV/PQ). More... | |
Functions | |
| std::string | hostname () |
| Returns the current hostname. | |
| std::string | timestamp () |
| Returns the current timestamp string. | |
| std::string | dateStr () |
| Returns the current date string. | |
| std::string | timeStr () |
| Returns the current time string. | |
| BusTypeCounts | countBusTypes (const BusData &busData) |
| Counts buses by type (1=Slack, 2=PV, else PQ). | |
| BusTotals | computeBusTotals (const BusData &busData) |
| Computes total load/gen/injected Mvar across all buses. | |
Small pieces of business/formatting logic shared by all OutputFile writers.
Computes total load/gen/injected Mvar across all buses.
Definition at line 119 of file OutputFileCommon.H.
References BusData::Pg, BusData::Pl, BusData::Qg, BusData::Ql, OutputFileCommon::BusTotals::totalInjected, OutputFileCommon::BusTotals::totalPg, OutputFileCommon::BusTotals::totalPl, OutputFileCommon::BusTotals::totalQg, and OutputFileCommon::BusTotals::totalQl.

|
inline |
Counts buses by type (1=Slack, 2=PV, else PQ).
Definition at line 98 of file OutputFileCommon.H.
References OutputFileCommon::BusTypeCounts::nPQ, OutputFileCommon::BusTypeCounts::nPV, OutputFileCommon::BusTypeCounts::nSlack, and BusData::Type.

|
inline |
Returns the current date string.
Definition at line 79 of file OutputFileCommon.H.

|
inline |
Returns the current hostname.
Definition at line 60 of file OutputFileCommon.H.

|
inline |
Returns the current timestamp string.
Definition at line 73 of file OutputFileCommon.H.

|
inline |
Returns the current time string.
Definition at line 85 of file OutputFileCommon.H.
