mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
* Full update to latest SS 0.98 APIs - SS: switched to LowLevelEvaluationFast interface; - SS: fixed compiler warnings for deprecated methods/properties; - refactoring; * refactoring - removed not useful try/catch from unit manager; - refactoring of not used methods; * Fix for SMath bug SS-2414 * minor changes * Added folder for Test files * Added test file IF97 test file from CoolProp/CoolProp issue #1249 * changed filename * added script for batch testing * Review of dynamic assistant tootltip * New layout for README.md * Updated README.md * Updated README.md * Fixed combined emphasis in README.md
List of functions
Below there is the list of all the functions provided by this plugin inside SMath Studio.
CoolProp_get_fluid_param_string(FluidName, ParamName)
Get a string for a value from a fluid.
FluidNameThe name of the fluid that is part of CoolProp, for instance"n-Propane"ParamNameA string, can be in one of"aliases","CAS","CAS_number","ASHRAE34","REFPROPName","REFPROP_name"
CoolProp_get_global_param_string(ParamName)
Get a globally-defined string.
ParamNameA string, one of"version","errstring","warnstring","gitrevision","FluidsList","fluids_list","parameter_list","predefined_mixtures"
CoolProp_get_param_index(Name)
Return the index of a parameter.
Name: The parameter name, one of"Tcrit","D","H", etc...
CoolProp_get_parameter_information_string(Key, Output)
Get a parameter information string.
KeyA stringOutputA string, one of"IO","short","long","units"
CoolProp_HAProps(Output, Name1, Prop1, Name2, Prop2, Name3, Prop3)
Return a humid air property.
OutputThe output parameter, one of"T","D","H", etc...Name1The first state variable name, one of"T","D","H", etc...Prop1The first state variable valueName2The second state variable name, one of"T","D","H", etc...Prop2The second state variable valueName3The third state variable name, one of"T","D","H", etc...Prop3The third state variable value
CoolProp_Phase(Name1, Prop1, Name2, Prop2, FluidName)
Return a string representation of the phase.
Name1The first state variable name, one of"T","D","H", etc...Prop1The first state variable valueName2The second state variable name, one of"T","D","H", etc...Prop2The second state variable valueFluidNameThe fluid name
CoolProp_Props(Output, Name1, Prop1, Name2, Prop2, FluidName)
Return a value that depends on the thermodynamic state.
OutputThe output parameter, one of"T","D","H", etc...Name1The first state variable name, one of"T","D","H", etc...Prop1The first state variable valueName2The second state variable name, one of"T","D","H", etc...Prop2The second state variable valueFluidNameThe fluid name
CoolProp_Props1(FluidName, Output)
Return a value that does not depends on the thermodynamic state.
FluidNameThe fluid nameOutputThe output parameter, one of"Tcrit","D","H", etc...
CoolProp_saturation_ancillary(FluidName, output, Q, input, value)
Extract a value from the saturation ancillary.
FluidNameThe name of the fluid to be used - HelmholtzEOS backend onlyoutputThe desired output variable ("P" for instance for pressure)QThe mass vapor quality, 0 or 1inputThe input variable name, one of"T","D","H", etc...valueThe second state variable value
CoolProp_set_reference_stateD(FluidName, T, RhoMolar, h0, s0)
Set the reference state based on a thermodynamic state point specified by temperature and molar density.
FluidNameThe name of the fluidTTemperature at reference state [K]RhoMolarDensity at reference state [mol/m^3]h0Enthalpy at reference state [J/mol]s0Entropy at references state [J/mol/K]
CoolProp_set_reference_stateS(FluidName, ReferenceState)
Set the reference state based on a string representation
FluidNameThe name of the fluidReferenceStateThe reference state to use, one of"IIR","ASHRAE","NBP","DEF","RESET"