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

#include <VICUS_InternalLoad.h>

Inheritance diagram for VICUS::InternalLoad:
[legend]

Public Types

enum  para_t {
  P_PersonCount , P_PersonPerArea , P_AreaPerPerson , P_Power ,
  P_PowerPerArea , P_MoistureProductionRatePerArea , P_ConvectiveHeatFactor , P_LatentHeatFactor ,
  P_LossHeatFactor , NUM_P
}
 
enum  Category {
  IC_Person , IC_ElectricEquiment , IC_Lighting , IC_Other ,
  NUM_MC
}
 
enum  PersonCountMethod { PCM_PersonPerArea , PCM_AreaPerPerson , PCM_PersonCount , NUM_PCM }
 
enum  PowerMethod { PM_PowerPerArea , PM_Power , NUM_PM }
 
- Public Types inherited from VICUS::AbstractDBElement
enum  ComparisonResult { Equal , OnlyMetaDataDiffers , Different }
 

Public Member Functions

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

Category m_category = NUM_MC
 
PersonCountMethod m_personCountMethod =NUM_PCM
 
PowerMethod m_powerMethod =NUM_PM
 
unsigned int m_idOccupancySchedule = INVALID_ID
 
unsigned int m_idActivitySchedule = INVALID_ID
 
unsigned int m_idMoistureProductionRatePerAreaSchedule = INVALID_ID
 
unsigned int m_idPowerManagementSchedule = INVALID_ID
 
bool m_activateCO2Production = false
 
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

Describes the course of all Internal Loads (Person, Lighting, Equipment, Other).

Member Enumeration Documentation

◆ Category

Internal load categories.

Enumerator
IC_Person 
IC_ElectricEquiment 
IC_Lighting 
IC_Other 
NUM_MC 

◆ para_t

Basic parameters.

Enumerator
P_PersonCount 

Person Count.

P_PersonPerArea 

Person per area.

P_AreaPerPerson 

Area per person.

P_Power 

Power.

P_PowerPerArea 

Power per Area.

P_MoistureProductionRatePerArea 

Moisture production rate per Area.

P_ConvectiveHeatFactor 

Convective Heat Factor.

P_LatentHeatFactor 

Latent Heat Factor.

P_LossHeatFactor 

Loss Heat Factor.

NUM_P 

◆ PersonCountMethod

The description is used to identify the unit in the gui for person.

Enumerator
PCM_PersonPerArea 
PCM_AreaPerPerson 
PCM_PersonCount 
NUM_PCM 

◆ PowerMethod

The description is used to identify the unit in the gui for all other equipment (electric, lights, other, ...).

Enumerator
PM_PowerPerArea 
PM_Power 
NUM_PM 

Member Function Documentation

◆ equal()

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

Comparison operator

Implements VICUS::AbstractDBElement.

◆ isValid()

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

Checks if all parameters are valid.

Member Data Documentation

◆ m_activateCO2Production

bool VICUS::InternalLoad::m_activateCO2Production = false

Flag for activate the CO2 production of persons. The emission rate is 3.82E-8 m3/Ws

◆ m_category

Category VICUS::InternalLoad::m_category = NUM_MC

Internal Load category.

◆ m_idActivitySchedule

unsigned int VICUS::InternalLoad::m_idActivitySchedule = INVALID_ID

Only required for person

◆ m_idMoistureProductionRatePerAreaSchedule

unsigned int VICUS::InternalLoad::m_idMoistureProductionRatePerAreaSchedule = INVALID_ID

Only required for moisture balance enabled

◆ m_idOccupancySchedule

unsigned int VICUS::InternalLoad::m_idOccupancySchedule = INVALID_ID

Schedule ID.

◆ m_idPowerManagementSchedule

unsigned int VICUS::InternalLoad::m_idPowerManagementSchedule = INVALID_ID

Only required for electric equipment, lights, other.

◆ m_para

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

List of parameters.

◆ m_personCountMethod

PersonCountMethod VICUS::InternalLoad::m_personCountMethod =NUM_PCM

Person count method.

◆ m_powerMethod

PowerMethod VICUS::InternalLoad::m_powerMethod =NUM_PM

Power method.


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