fixed test_components for the new actentric factor and criticalVolume

This commit is contained in:
Trine Mykkeltvedt 2022-06-27 10:27:53 +02:00
parent 8d91d3704e
commit 6304acb292
2 changed files with 25 additions and 0 deletions

View File

@ -103,6 +103,19 @@ public:
static Scalar criticalPressure()
{ throw std::runtime_error("Not implemented: Component::criticalPressure()"); }
/*!
* \brief Returns the acentric factor of the component.
*/
static Scalar acentricFactor()
{ throw std::runtime_error("Not implemented: acentricFactor of the component"); }
/*!
* \brief Returns the critical volume in \f$\mathrm{[m2/kmol]}\f$ of the component.
*/
static Scalar criticalVolume()
{ throw std::runtime_error("Not implemented: criticalVolume of the compoenent"); }
/*!
* \brief Returns the temperature in \f$\mathrm{[K]}\f$ at the component's triple point.
*/

View File

@ -233,6 +233,18 @@ public:
static Scalar criticalPressure()
{ return RawComponent::criticalPressure(); }
/*!
* \brief Returns the acentric factor of the component.
*/
static Scalar acentricFactor()
{ throw std::runtime_error("Not implemented: acentricFactor of the component"); }
/*!
* \brief Returns the critical volume in \f$\mathrm{[m2/kmol]}\f$ of the component.
*/
static Scalar criticalVolume()
{ throw std::runtime_error("Not implemented: criticalVolume of the compoenent"); }
/*!
* \brief Returns the temperature in \f$\mathrm{[K]}\f$ at the component's triple point.
*/