mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-01 03:00:13 -04:00
Update examples showing call to bicubic backend; closes #578
This commit is contained in:
@@ -313,6 +313,59 @@ low_level_interface = [
|
||||
"'K'"
|
||||
],
|
||||
"EOL":True
|
||||
},
|
||||
{
|
||||
"type": "print",
|
||||
"arguments": [ "'*********** TABULAR BACKENDS *****************'" ],
|
||||
"EOL":True
|
||||
},
|
||||
{
|
||||
"type": "custom_assignment",
|
||||
"variable_type": "AbstractState",
|
||||
"variable_name": "TAB",
|
||||
"RHS": {
|
||||
"type": "function",
|
||||
"function": "factory",
|
||||
"arguments": [
|
||||
"'BICUBIC&HEOS'", "'R245fa'"
|
||||
]
|
||||
},
|
||||
"EOL":True
|
||||
},
|
||||
{
|
||||
"type": "class_dereference",
|
||||
"name": "TAB",
|
||||
"RHS": {
|
||||
"type": "function",
|
||||
"function": "update",
|
||||
"arguments": [
|
||||
{
|
||||
"type": "enum",
|
||||
"enum": "input_pairs",
|
||||
"key": "PT_INPUTS"
|
||||
},
|
||||
"101325", "300"
|
||||
]
|
||||
},
|
||||
"EOL":True
|
||||
},
|
||||
{
|
||||
"type": "print",
|
||||
"arguments": [
|
||||
"'Mass density of refrigerant R245fa at 300 K, 101325 Pa:'",
|
||||
{
|
||||
|
||||
"type": "class_dereference",
|
||||
"name": "TAB",
|
||||
"RHS": {
|
||||
"type": "function",
|
||||
"function": "rhomass",
|
||||
"arguments": []
|
||||
}
|
||||
},
|
||||
"'kg/m^3'"
|
||||
],
|
||||
"EOL":True
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user