EPANET-RTX
1.1
real-time extension for the EPANET toolkit
|
#include <Junction.h>
Public Types | |
typedef boost::shared_ptr < Junction > | sharedPointer |
Public Types inherited from RTX::Node | |
typedef boost::shared_ptr< Node > | sharedPointer |
Public Types inherited from RTX::Element | |
enum | element_t { JUNCTION, TANK, RESERVOIR, PIPE, PUMP, VALVE, DMA } |
typedef boost::shared_ptr < Element > | sharedPointer |
Public Member Functions | |
Junction (const std::string &name) | |
virtual void | setRecord (PointRecord::sharedPointer record) |
double | baseDemand () |
void | setBaseDemand (double demand) |
double | initialQuality () |
void | setInitialQuality (double quality) |
TimeSeries::sharedPointer | head () |
TimeSeries::sharedPointer | pressure () |
TimeSeries::sharedPointer | demand () |
TimeSeries::sharedPointer | quality () |
bool | doesHaveQualitySource () |
TimeSeries::sharedPointer | qualitySource () |
void | setQualitySource (TimeSeries::sharedPointer quality) |
bool | doesHaveBoundaryFlow () |
TimeSeries::sharedPointer | boundaryFlow () |
void | setBoundaryFlow (TimeSeries::sharedPointer flow) |
bool | doesHaveHeadMeasure () |
TimeSeries::sharedPointer | headMeasure () |
TimeSeries::sharedPointer | pressureMeasure () |
virtual void | setHeadMeasure (TimeSeries::sharedPointer head) |
virtual void | setPressureMeasure (TimeSeries::sharedPointer pressure) |
bool | doesHaveQualityMeasure () |
TimeSeries::sharedPointer | qualityMeasure () |
void | setQualityMeasure (TimeSeries::sharedPointer quality) |
Public Member Functions inherited from RTX::Node | |
std::pair< double, double > | coordinates () |
virtual void | setCoordinates (double x, double y) |
double | elevation () |
virtual void | setElevation (double elevation) |
std::vector< boost::shared_ptr < Link > > | links () |
Public Member Functions inherited from RTX::Element | |
virtual std::ostream & | toStream (std::ostream &stream) |
element_t | type () |
void | setName (const std::string &newName) |
std::string | name () |
std::string | userDescription () |
void | setUserDescription (const std::string &description) |
Additional Inherited Members | |
Protected Member Functions inherited from RTX::Node | |
Node (const std::string &name) | |
void | addLink (boost::shared_ptr< Link > link) |
Protected Member Functions inherited from RTX::Element | |
Element (const std::string &name) | |
void | setType (element_t type) |
Junction Class.
A Junction is a Hydraulic element - any convergence of at least one link which can have a head value associated therewith.