#include <SEThermalCircuitNode.h>

Inherits SECircuitNode< THERMAL_CIRCUIT_NODE >.

Public Member Functions

virtual ~SEThermalCircuitNode ()
 
void Clear () override
 
virtual bool HasTemperature () const
 
virtual SEScalarTemperatureGetTemperature ()
 
virtual double GetTemperature (const TemperatureUnit &unit) const
 
virtual bool HasNextTemperature () const
 
virtual SEScalarTemperatureGetNextTemperature ()
 
virtual double GetNextTemperature (const TemperatureUnit &unit) const
 
virtual bool HasHeat () const
 
virtual SEScalarEnergyGetHeat ()
 
virtual double GetHeat (const EnergyUnit &unit) const
 
virtual bool HasNextHeat () const
 
virtual SEScalarEnergyGetNextHeat ()
 
virtual double GetNextHeat (const EnergyUnit &unit) const
 
virtual bool HasHeatBaseline () const
 
virtual SEScalarEnergyGetHeatBaseline ()
 
virtual double GetHeatBaseline (const EnergyUnit &unit) const
 
SEThermalCircuitNodeGetBlackBoxSourceNode () const
 
SEThermalCircuitNodeGetBlackBoxTargetNode () const
 
void SetBlackBoxSourceTargetNodes (SEThermalCircuitNode &src, SEThermalCircuitNode &tgt)
 
SEThermalCircuitPathGetBlackBoxSourcePath () const
 
SEThermalCircuitPathGetBlackBoxTargetPath () const
 
void SetBlackBoxSourceTargetPaths (SEThermalCircuitPath &src, SEThermalCircuitPath &tgt)
 
- Public Member Functions inherited from SECircuitNode< THERMAL_CIRCUIT_NODE >
virtual ~SECircuitNode ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual bool IsPartOfBlackBox () const
 
virtual void SetPartOfBlackBox (bool b)
 
virtual bool IsBlackBoxMiddle () const
 
virtual bool HasPotential () const
 
virtual PotentialScalar & GetPotential ()
 
virtual bool HasNextPotential () const
 
virtual PotentialScalar & GetNextPotential ()
 
virtual void RemoveImposedPotential ()
 
virtual bool IsPotentialImposed () const
 
virtual void ImposePotential (const PotentialScalar &s)
 
virtual void ImposePotential (double v, const PotentialUnit &unit)
 
virtual bool HasQuantity () const
 
virtual QuantityScalar & GetQuantity ()
 
virtual bool HasNextQuantity () const
 
virtual QuantityScalar & GetNextQuantity ()
 
virtual bool HasQuantityBaseline () const
 
virtual QuantityScalar & GetQuantityBaseline ()
 
virtual void RemoveImposedQuantity ()
 
virtual bool IsQuantityImposed () const
 
virtual void ImposeQuantity (const QuantityScalar &s)
 
virtual void ImposeQuantity (double v, const QuantityUnit &unit)
 
void SetCalculatorIndex (const int index)
 
int GetCalculatorIndex () const
 
bool IsReferenceNode () const
 
void SetAsReferenceNode ()
 
void RemoveAsReferenceNode ()
 
- 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) const
 
virtual void Debug (std::stringstream &msg) const
 
virtual void Debug (std::ostream &msg) const
 
virtual void Info (std::string const &msg) const
 
virtual void Info (std::stringstream &msg) const
 
virtual void Info (const std::stringstream &msg) const
 
virtual void Info (std::ostream &msg) const
 
virtual void Warning (std::string const &msg) const
 
virtual void Warning (std::stringstream &msg) const
 
virtual void Warning (std::ostream &msg) const
 
virtual void Error (std::string const &msg) const
 
virtual void Error (std::stringstream &msg) const
 
virtual void Error (std::ostream &msg) const
 
virtual void Fatal (std::string const &msg) const
 
virtual void Fatal (std::stringstream &msg) const
 
virtual void Fatal (std::ostream &msg) const
 

Protected Member Functions

 SEThermalCircuitNode (const std::string &name, Logger *logger)
 
- Protected Member Functions inherited from SECircuitNode< THERMAL_CIRCUIT_NODE >
 SECircuitNode (const std::string &name, Logger *logger)
 

Protected Attributes

SEThermalCircuitNodem_BlackBoxSourceNode =nullptr
 
SEThermalCircuitNodem_BlackBoxTargetNode =nullptr
 
SEThermalCircuitPathm_BlackBoxSourcePath = nullptr
 
SEThermalCircuitPathm_BlackBoxTargetPath = nullptr
 
- Protected Attributes inherited from SECircuitNode< THERMAL_CIRCUIT_NODE >
std::string m_Name
 
bool m_IsPartOfBlackBox
 
bool m_IsBlackBoxMiddle
 
PotentialScalar * m_Potential
 
PotentialScalar * m_NextPotential
 
eBlackBox_Property_Type m_PotentialType
 
QuantityScalar * m_Quantity
 
QuantityScalar * m_NextQuantity
 
QuantityScalar * m_QuantityBaseline
 
eBlackBox_Property_Type m_QuantityType
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBCircuit
 
class SECircuitManager
 

Constructor & Destructor Documentation

◆ SEThermalCircuitNode()

SEThermalCircuitNode::SEThermalCircuitNode ( const std::string &  name,
Logger logger 
)
protected

◆ ~SEThermalCircuitNode()

SEThermalCircuitNode::~SEThermalCircuitNode ( )
virtual

Member Function Documentation

◆ Clear()

void SEThermalCircuitNode::Clear ( )
overridevirtual

◆ GetBlackBoxSourceNode()

SEThermalCircuitNode * SEThermalCircuitNode::GetBlackBoxSourceNode ( ) const

◆ GetBlackBoxSourcePath()

SEThermalCircuitPath * SEThermalCircuitNode::GetBlackBoxSourcePath ( ) const

◆ GetBlackBoxTargetNode()

SEThermalCircuitNode * SEThermalCircuitNode::GetBlackBoxTargetNode ( ) const

◆ GetBlackBoxTargetPath()

SEThermalCircuitPath * SEThermalCircuitNode::GetBlackBoxTargetPath ( ) const

◆ GetHeat() [1/2]

SEScalarEnergy & SEThermalCircuitNode::GetHeat ( )
virtual

◆ GetHeat() [2/2]

double SEThermalCircuitNode::GetHeat ( const EnergyUnit unit) const
virtual

◆ GetHeatBaseline() [1/2]

SEScalarEnergy & SEThermalCircuitNode::GetHeatBaseline ( )
virtual

◆ GetHeatBaseline() [2/2]

double SEThermalCircuitNode::GetHeatBaseline ( const EnergyUnit unit) const
virtual

◆ GetNextHeat() [1/2]

SEScalarEnergy & SEThermalCircuitNode::GetNextHeat ( )
virtual

◆ GetNextHeat() [2/2]

double SEThermalCircuitNode::GetNextHeat ( const EnergyUnit unit) const
virtual

◆ GetNextTemperature() [1/2]

SEScalarTemperature & SEThermalCircuitNode::GetNextTemperature ( )
virtual

◆ GetNextTemperature() [2/2]

double SEThermalCircuitNode::GetNextTemperature ( const TemperatureUnit unit) const
virtual

◆ GetTemperature() [1/2]

SEScalarTemperature & SEThermalCircuitNode::GetTemperature ( )
virtual

◆ GetTemperature() [2/2]

double SEThermalCircuitNode::GetTemperature ( const TemperatureUnit unit) const
virtual

◆ HasHeat()

bool SEThermalCircuitNode::HasHeat ( ) const
virtual

◆ HasHeatBaseline()

bool SEThermalCircuitNode::HasHeatBaseline ( ) const
virtual

◆ HasNextHeat()

bool SEThermalCircuitNode::HasNextHeat ( ) const
virtual

◆ HasNextTemperature()

bool SEThermalCircuitNode::HasNextTemperature ( ) const
virtual

◆ HasTemperature()

bool SEThermalCircuitNode::HasTemperature ( ) const
virtual

◆ SetBlackBoxSourceTargetNodes()

void SEThermalCircuitNode::SetBlackBoxSourceTargetNodes ( SEThermalCircuitNode src,
SEThermalCircuitNode tgt 
)

◆ SetBlackBoxSourceTargetPaths()

void SEThermalCircuitNode::SetBlackBoxSourceTargetPaths ( SEThermalCircuitPath src,
SEThermalCircuitPath tgt 
)

Friends And Related Function Documentation

◆ PBCircuit

friend class PBCircuit
friend

◆ SECircuitManager

friend class SECircuitManager
friend

Member Data Documentation

◆ m_BlackBoxSourceNode

SEThermalCircuitNode* SEThermalCircuitNode::m_BlackBoxSourceNode =nullptr
protected

◆ m_BlackBoxSourcePath

SEThermalCircuitPath* SEThermalCircuitNode::m_BlackBoxSourcePath = nullptr
protected

◆ m_BlackBoxTargetNode

SEThermalCircuitNode* SEThermalCircuitNode::m_BlackBoxTargetNode =nullptr
protected

◆ m_BlackBoxTargetPath

SEThermalCircuitPath* SEThermalCircuitNode::m_BlackBoxTargetPath = nullptr
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.