VICUS Library
Documentation of Vicus library
Loading...
Searching...
No Matches
VICUS::ZoneControlNaturalVentilation Class Reference

#include <VICUS_ZoneControlNaturalVentilation.h>

Inheritance diagram for VICUS::ZoneControlNaturalVentilation:
[legend]

Public Types

enum  para_t {
  P_MaximumAirChangeRateComfort , P_TemperatureAirMax , P_TemperatureAirMin , P_WindSpeedMax ,
  NUM_P
}
 
- Public Types inherited from VICUS::AbstractDBElement
enum  ComparisonResult { Equal , OnlyMetaDataDiffers , Different }
 

Public Member Functions

 ZoneControlNaturalVentilation ()
 
VICUS_READWRITE_OVERRIDE VICUS_COMPARE_WITH_ID bool isValid (const Database< Schedule > &scheduleDB) const
 
ComparisonResult equal (const AbstractDBElement *other) const override
 
- 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
 

Public Attributes

IBK::MultiLanguageString m_notes
 
IBK::MultiLanguageString m_dataSource
 
IDType m_idSchedules [NUM_P]
 
IBK::Parameter m_para [NUM_P]
 
- 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
 

Detailed Description

Zone control parameters for natural ventilation.

Member Enumeration Documentation

◆ para_t

Parameters for ventilation control model. Can be given as constant parameters in m_para, or can be defined as scheduled quantities. For each of these parameters that is provided as schedule, the m_idSchedules[] vector contains non INVALID_ID entries.

Enumerator
P_MaximumAirChangeRateComfort 
P_TemperatureAirMax 
P_TemperatureAirMin 
P_WindSpeedMax 
NUM_P 

Constructor & Destructor Documentation

◆ ZoneControlNaturalVentilation()

VICUS::ZoneControlNaturalVentilation::ZoneControlNaturalVentilation ( )
inline

Default constructor, initializes m_idSchedules with INVALID_ID

Member Function Documentation

◆ equal()

AbstractDBElement::ComparisonResult VICUS::ZoneControlNaturalVentilation::equal ( const AbstractDBElement other) const
overridevirtual

Comparison operator

Implements VICUS::AbstractDBElement.

◆ isValid()

bool VICUS::ZoneControlNaturalVentilation::isValid ( const Database< Schedule > &  scheduleDB) const

Checks if all parameters are valid.

Member Data Documentation

◆ m_dataSource

IBK::MultiLanguageString VICUS::ZoneControlNaturalVentilation::m_dataSource

Data source.

◆ m_idSchedules

IDType VICUS::ZoneControlNaturalVentilation::m_idSchedules[NUM_P]

Schedule ID.

◆ m_notes

IBK::MultiLanguageString VICUS::ZoneControlNaturalVentilation::m_notes

Notes.

◆ m_para

IBK::Parameter VICUS::ZoneControlNaturalVentilation::m_para[NUM_P]

List of constant parameters.


The documentation for this class was generated from the following files: