Pulse adds COVID-19 Simulation Support
×
SEEnvironment Class Reference

#include <SEEnvironment.h>

Inherits SESystem.

Inherited by PulseEnvironmentSystem.

Public Member Functions

 SEEnvironment (Logger *logger)
 
virtual ~SEEnvironment ()
 
virtual void Clear ()
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 
std::string to_string (int i)
 
std::string to_string (unsigned int i)
 
std::string to_string (size_t t)
 
std::string to_string (float f)
 
std::string to_string (double d)
 

Protected Member Functions

ProcessChange
  • Will change this class as directed by the Condition
virtual bool ProcessChange (SEChangeEnvironmentalConditions &action, SESubstanceManager &subMgr)
 
virtual bool ProcessChange (SEInitialEnvironmentalConditions &change, SESubstanceManager &subMgr)
 

Friends

class PBEnvironment
 

StateChange

- This method is called when ever there is a state change Specically a new file has been loaded, configuration action, or the system reset Engine specific methodology can then update their logic.

SEScalarPowerm_ConvectiveHeatLoss
 
SEScalarHeatConductancePerAream_ConvectiveHeatTranferCoefficient
 
SEScalarPowerm_EvaporativeHeatLoss
 
SEScalarHeatConductancePerAream_EvaporativeHeatTranferCoefficient
 
SEScalarPowerm_RadiativeHeatLoss
 
SEScalarHeatConductancePerAream_RadiativeHeatTranferCoefficient
 
SEScalarPowerm_RespirationHeatLoss
 
SEScalarPowerm_SkinHeatLoss
 
SEActiveConditioningm_ActiveHeating
 
SEActiveConditioningm_ActiveCooling
 
SEAppliedTemperaturem_AppliedTemperature
 
SEEnvironmentalConditionsm_EnvironmentalConditions
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasActiveHeating () const
 
virtual SEActiveConditioningGetActiveHeating ()
 
virtual const SEActiveConditioningGetActiveHeating () const
 
virtual void RemoveActiveHeating ()
 
virtual bool HasActiveCooling () const
 
virtual SEActiveConditioningGetActiveCooling ()
 
virtual const SEActiveConditioningGetActiveCooling () const
 
virtual void RemoveActiveCooling ()
 
virtual bool HasAppliedTemperature () const
 
virtual SEAppliedTemperatureGetAppliedTemperature ()
 
virtual const SEAppliedTemperatureGetAppliedTemperature () const
 
virtual void RemoveAppliedTemperature ()
 
virtual bool HasEnvironmentalConditions () const
 
virtual SEEnvironmentalConditionsGetEnvironmentalConditions ()
 
virtual const SEEnvironmentalConditionsGetEnvironmentalConditions () const
 
virtual void RemoveEnvironmentalConditions ()
 
virtual bool HasConvectiveHeatLoss () const
 
virtual SEScalarPowerGetConvectiveHeatLoss ()
 
virtual double GetConvectiveHeatLoss (const PowerUnit &unit) const
 
virtual bool HasConvectiveHeatTranferCoefficient () const
 
virtual SEScalarHeatConductancePerAreaGetConvectiveHeatTranferCoefficient ()
 
virtual double GetConvectiveHeatTranferCoefficient (const HeatConductancePerAreaUnit &unit) const
 
virtual bool HasEvaporativeHeatLoss () const
 
virtual SEScalarPowerGetEvaporativeHeatLoss ()
 
virtual double GetEvaporativeHeatLoss (const PowerUnit &unit) const
 
virtual bool HasEvaporativeHeatTranferCoefficient () const
 
virtual SEScalarHeatConductancePerAreaGetEvaporativeHeatTranferCoefficient ()
 
virtual double GetEvaporativeHeatTranferCoefficient (const HeatConductancePerAreaUnit &unit) const
 
virtual bool HasRadiativeHeatLoss () const
 
virtual SEScalarPowerGetRadiativeHeatLoss ()
 
virtual double GetRadiativeHeatLoss (const PowerUnit &unit) const
 
virtual bool HasRadiativeHeatTranferCoefficient () const
 
virtual SEScalarHeatConductancePerAreaGetRadiativeHeatTranferCoefficient ()
 
virtual double GetRadiativeHeatTranferCoefficient (const HeatConductancePerAreaUnit &unit) const
 
virtual bool HasRespirationHeatLoss () const
 
virtual SEScalarPowerGetRespirationHeatLoss ()
 
virtual double GetRespirationHeatLoss (const PowerUnit &unit) const
 
virtual bool HasSkinHeatLoss () const
 
virtual SEScalarPowerGetSkinHeatLoss ()
 
virtual double GetSkinHeatLoss (const PowerUnit &unit) const
 
virtual void StateChange ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem *> *systems)
 
- Static Public Attributes inherited from Loggable
static const std::string empty
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Constructor & Destructor Documentation

◆ SEEnvironment()

SEEnvironment::SEEnvironment ( Logger logger)

◆ ~SEEnvironment()

SEEnvironment::~SEEnvironment ( )
virtual

Member Function Documentation

◆ Clear()

void SEEnvironment::Clear ( )
virtual

Reimplemented from SESystem.

Reimplemented in Environment.

◆ GetActiveCooling() [1/2]

SEActiveConditioning & SEEnvironment::GetActiveCooling ( )
virtual

◆ GetActiveCooling() [2/2]

const SEActiveConditioning * SEEnvironment::GetActiveCooling ( ) const
virtual

◆ GetActiveHeating() [1/2]

SEActiveConditioning & SEEnvironment::GetActiveHeating ( )
virtual

◆ GetActiveHeating() [2/2]

const SEActiveConditioning * SEEnvironment::GetActiveHeating ( ) const
virtual

◆ GetAppliedTemperature() [1/2]

SEAppliedTemperature & SEEnvironment::GetAppliedTemperature ( )
virtual

◆ GetAppliedTemperature() [2/2]

const SEAppliedTemperature * SEEnvironment::GetAppliedTemperature ( ) const
virtual

◆ GetConvectiveHeatLoss() [1/2]

SEScalarPower & SEEnvironment::GetConvectiveHeatLoss ( )
virtual

◆ GetConvectiveHeatLoss() [2/2]

double SEEnvironment::GetConvectiveHeatLoss ( const PowerUnit unit) const
virtual

◆ GetConvectiveHeatTranferCoefficient() [1/2]

SEScalarHeatConductancePerArea & SEEnvironment::GetConvectiveHeatTranferCoefficient ( )
virtual

◆ GetConvectiveHeatTranferCoefficient() [2/2]

double SEEnvironment::GetConvectiveHeatTranferCoefficient ( const HeatConductancePerAreaUnit unit) const
virtual

◆ GetEnvironmentalConditions() [1/2]

SEEnvironmentalConditions & SEEnvironment::GetEnvironmentalConditions ( )
virtual

◆ GetEnvironmentalConditions() [2/2]

const SEEnvironmentalConditions * SEEnvironment::GetEnvironmentalConditions ( ) const
virtual

◆ GetEvaporativeHeatLoss() [1/2]

SEScalarPower & SEEnvironment::GetEvaporativeHeatLoss ( )
virtual

◆ GetEvaporativeHeatLoss() [2/2]

double SEEnvironment::GetEvaporativeHeatLoss ( const PowerUnit unit) const
virtual

◆ GetEvaporativeHeatTranferCoefficient() [1/2]

SEScalarHeatConductancePerArea & SEEnvironment::GetEvaporativeHeatTranferCoefficient ( )
virtual

◆ GetEvaporativeHeatTranferCoefficient() [2/2]

double SEEnvironment::GetEvaporativeHeatTranferCoefficient ( const HeatConductancePerAreaUnit unit) const
virtual

◆ GetRadiativeHeatLoss() [1/2]

SEScalarPower & SEEnvironment::GetRadiativeHeatLoss ( )
virtual

◆ GetRadiativeHeatLoss() [2/2]

double SEEnvironment::GetRadiativeHeatLoss ( const PowerUnit unit) const
virtual

◆ GetRadiativeHeatTranferCoefficient() [1/2]

SEScalarHeatConductancePerArea & SEEnvironment::GetRadiativeHeatTranferCoefficient ( )
virtual

◆ GetRadiativeHeatTranferCoefficient() [2/2]

double SEEnvironment::GetRadiativeHeatTranferCoefficient ( const HeatConductancePerAreaUnit unit) const
virtual

◆ GetRespirationHeatLoss() [1/2]

SEScalarPower & SEEnvironment::GetRespirationHeatLoss ( )
virtual

◆ GetRespirationHeatLoss() [2/2]

double SEEnvironment::GetRespirationHeatLoss ( const PowerUnit unit) const
virtual

◆ GetScalar()

const SEScalar * SEEnvironment::GetScalar ( const std::string &  name)
virtual

Implements SESystem.

Reimplemented in PulseEnvironmentSystem.

◆ GetSkinHeatLoss() [1/2]

SEScalarPower & SEEnvironment::GetSkinHeatLoss ( )
virtual

◆ GetSkinHeatLoss() [2/2]

double SEEnvironment::GetSkinHeatLoss ( const PowerUnit unit) const
virtual

◆ HasActiveCooling()

bool SEEnvironment::HasActiveCooling ( ) const
virtual

◆ HasActiveHeating()

bool SEEnvironment::HasActiveHeating ( ) const
virtual

◆ HasAppliedTemperature()

bool SEEnvironment::HasAppliedTemperature ( ) const
virtual

◆ HasConvectiveHeatLoss()

bool SEEnvironment::HasConvectiveHeatLoss ( ) const
virtual

◆ HasConvectiveHeatTranferCoefficient()

bool SEEnvironment::HasConvectiveHeatTranferCoefficient ( ) const
virtual

◆ HasEnvironmentalConditions()

bool SEEnvironment::HasEnvironmentalConditions ( ) const
virtual

◆ HasEvaporativeHeatLoss()

bool SEEnvironment::HasEvaporativeHeatLoss ( ) const
virtual

◆ HasEvaporativeHeatTranferCoefficient()

bool SEEnvironment::HasEvaporativeHeatTranferCoefficient ( ) const
virtual

◆ HasRadiativeHeatLoss()

bool SEEnvironment::HasRadiativeHeatLoss ( ) const
virtual

◆ HasRadiativeHeatTranferCoefficient()

bool SEEnvironment::HasRadiativeHeatTranferCoefficient ( ) const
virtual

◆ HasRespirationHeatLoss()

bool SEEnvironment::HasRespirationHeatLoss ( ) const
virtual

◆ HasSkinHeatLoss()

bool SEEnvironment::HasSkinHeatLoss ( ) const
virtual

◆ ProcessChange() [1/2]

bool SEEnvironment::ProcessChange ( SEChangeEnvironmentalConditions action,
SESubstanceManager subMgr 
)
protectedvirtual
Error:
Unable to read Configuration Action file

◆ ProcessChange() [2/2]

bool SEEnvironment::ProcessChange ( SEInitialEnvironmentalConditions change,
SESubstanceManager subMgr 
)
protectedvirtual
Error:
Unable to read Configuration Action file

◆ RemoveActiveCooling()

void SEEnvironment::RemoveActiveCooling ( )
virtual

◆ RemoveActiveHeating()

void SEEnvironment::RemoveActiveHeating ( )
virtual

◆ RemoveAppliedTemperature()

void SEEnvironment::RemoveAppliedTemperature ( )
virtual

◆ RemoveEnvironmentalConditions()

void SEEnvironment::RemoveEnvironmentalConditions ( )
virtual

◆ StateChange()

virtual void SEEnvironment::StateChange ( )
inlineprotectedvirtual

Reimplemented in Environment.

Friends And Related Function Documentation

◆ PBEnvironment

friend class PBEnvironment
friend

Member Data Documentation

◆ m_ActiveCooling

SEActiveConditioning* SEEnvironment::m_ActiveCooling
protected

◆ m_ActiveHeating

SEActiveConditioning* SEEnvironment::m_ActiveHeating
protected

◆ m_AppliedTemperature

SEAppliedTemperature* SEEnvironment::m_AppliedTemperature
protected

◆ m_ConvectiveHeatLoss

SEScalarPower* SEEnvironment::m_ConvectiveHeatLoss
protected

◆ m_ConvectiveHeatTranferCoefficient

SEScalarHeatConductancePerArea* SEEnvironment::m_ConvectiveHeatTranferCoefficient
protected

◆ m_EnvironmentalConditions

SEEnvironmentalConditions* SEEnvironment::m_EnvironmentalConditions
protected

◆ m_EvaporativeHeatLoss

SEScalarPower* SEEnvironment::m_EvaporativeHeatLoss
protected

◆ m_EvaporativeHeatTranferCoefficient

SEScalarHeatConductancePerArea* SEEnvironment::m_EvaporativeHeatTranferCoefficient
protected

◆ m_RadiativeHeatLoss

SEScalarPower* SEEnvironment::m_RadiativeHeatLoss
protected

◆ m_RadiativeHeatTranferCoefficient

SEScalarHeatConductancePerArea* SEEnvironment::m_RadiativeHeatTranferCoefficient
protected

◆ m_RespirationHeatLoss

SEScalarPower* SEEnvironment::m_RespirationHeatLoss
protected

◆ m_SkinHeatLoss

SEScalarPower* SEEnvironment::m_SkinHeatLoss
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.