VICUS Library
Documentation of Vicus library
|
#include <VICUS_NetworkComponent.h>
Public Member Functions | |
NetworkComponent ()=default | |
VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID bool | isValid (const Database< Schedule > &scheduleDB) const |
ComparisonResult | equal (const AbstractDBElement *other) const override |
void | nandradNetworkComponentParameter (IBK::Parameter *para) const |
Public Member Functions inherited from VICUS::AbstractDBElement | |
AbstractDBElement ()=default | |
AbstractDBElement (unsigned int id, const IBK::MultiLanguageString &name) | |
virtual | ~AbstractDBElement () |
virtual void | readXML (const TiXmlElement *element)=0 |
virtual TiXmlElement * | writeXML (TiXmlElement *parent) const =0 |
void | collectChildren (std::set< const AbstractDBElement * > &allChildrenRefs) const |
void | collectLocalChildren (std::set< AbstractDBElement * > &localChildrenRefs) const |
const QString | sourceName () const |
Static Public Member Functions | |
static NANDRAD::HydraulicNetworkComponent::ModelType | nandradNetworkComponentModelType (ModelType modelType) |
static std::vector< unsigned int > | additionalRequiredParameter (const ModelType modelType) |
static std::vector< unsigned int > | optionalParameter (const ModelType modelType) |
static std::vector< unsigned int > | requiredIntParameter (const ModelType modelType) |
static void | checkAdditionalParameter (const IBK::Parameter ¶, const unsigned int numPara) |
static void | checkIntParameter (const IBK::IntPara ¶, const unsigned int numPara) |
static bool | hasPipeProperties (const ModelType modelType) |
Public Attributes | |
IBK::MultiLanguageString | m_notes |
IBK::MultiLanguageString | m_manufacturer |
IBK::MultiLanguageString | m_dataSource |
std::vector< unsigned int > | m_scheduleIds |
IBK::IntPara | m_intPara [NUM_IP] |
IDType | m_pipePropertiesId = INVALID_ID |
ModelType | m_modelType = NUM_MT |
IBK::Parameter | m_para [NUM_P] |
NANDRAD::DataTable | m_polynomCoefficients |
Public Attributes inherited from VICUS::AbstractDBElement | |
unsigned int | m_id = INVALID_ID |
IBK::MultiLanguageString | m_displayName |
QColor | m_color |
bool | m_builtIn = false |
bool | m_local = true |
std::set< AbstractDBElement * > | m_childrenRefs |
bool | m_isReferenced = false |
std::string | m_errorMsg |
Data model object for network components, basically the same as NANDRAD::HydraulicNetworkComponent with data members needed in the user interface.
We cannot use inheritence here, but since both objects are very similar it should be easy to copy/paste back and forth between objects.
The various types (equations) of the hydraulic component.
Parameters for the component.
|
default |
|
static |
returns additional required parameters, not included in NANDRAD::HydraulicNetworkComponent
|
static |
checks additional required parameters, not included in NANDRAD::HydraulicNetworkComponent
|
static |
checks required integer parameters
|
overridevirtual |
Comparison operator
Implements VICUS::AbstractDBElement.
|
static |
Checks if all parameters are valid.
|
static |
void VICUS::NetworkComponent::nandradNetworkComponentParameter | ( | IBK::Parameter * | para | ) | const |
|
static |
returns optional parameters for the given model type
|
static |
returns additional required parameters
IBK::MultiLanguageString VICUS::NetworkComponent::m_dataSource |
Data source.
IBK::IntPara VICUS::NetworkComponent::m_intPara[NUM_IP] |
Integer parameters.
IBK::MultiLanguageString VICUS::NetworkComponent::m_manufacturer |
Manufacturer.
IBK::MultiLanguageString VICUS::NetworkComponent::m_notes |
Notes.
IBK::Parameter VICUS::NetworkComponent::m_para[NUM_P] |
Parameters of the flow component.
IDType VICUS::NetworkComponent::m_pipePropertiesId = INVALID_ID |
Reference id fo pipe properties for e.g. the GroundHeatExchanger model
NANDRAD::DataTable VICUS::NetworkComponent::m_polynomCoefficients |
Array parameters of the flow component
std::vector<unsigned int> VICUS::NetworkComponent::m_scheduleIds |
Schedules for this component