| 1 | initial version |
You need to use the --python_path and --python_home options of the CLI. For instance, I'm running OpenStudio 3.10 which uses Python 3.12. I installed Python 3.12 on my machine (I'm using pyenv), installed the copper library (pip install copper) and then ran the following and the measure ran successfully.
openstudio --python_path /Users/lero023/.pyenv/versions/3.12.10/ --python_home /Users/lero023/.pyenv/versions/3.12.10 run --workflow wkfl.osw
Here's the content of the OSW file:
{
"seed_file": "model.osm",
"weather_file": "USA_CO_Golden-NREL.724666_TMY3.epw",
"steps": [
{
"measure_dir_name": "GenerateIPLVChillerElectricEIRPerformanceCurves",
"arguments": {
"chiller_name": "TestChiller",
"chiller_compressor_type": "centrifugal",
"chiller_speed_control": "constant",
"chiller_condenser_type": "water",
"chiller_capacity_unit": "ton",
"chiller_capacity": 150,
"chiller_efficiency_unit": "kW/ton",
"chiller_full_load_efficiency": 0.6,
"chiller_part_load_efficiency": 0.5
}
}
]
}
The model.osm contains a Chiller:Electric:EIR object.
| 2 | No.2 Revision |
You It's a Python measure, so you need to use the --python_path and --python_home options of the CLI. For instance, I'm running OpenStudio 3.10 which uses Python 3.12. I installed Python 3.12 on my machine (I'm using pyenv), installed the copper library (pip install copper) and then ran the following and the measure ran successfully.
openstudio --python_path /Users/lero023/.pyenv/versions/3.12.10/ --python_home /Users/lero023/.pyenv/versions/3.12.10 run --workflow wkfl.osw
Here's the content of the OSW file:
{
"seed_file": "model.osm",
"weather_file": "USA_CO_Golden-NREL.724666_TMY3.epw",
"steps": [
{
"measure_dir_name": "GenerateIPLVChillerElectricEIRPerformanceCurves",
"arguments": {
"chiller_name": "TestChiller",
"chiller_compressor_type": "centrifugal",
"chiller_speed_control": "constant",
"chiller_condenser_type": "water",
"chiller_capacity_unit": "ton",
"chiller_capacity": 150,
"chiller_efficiency_unit": "kW/ton",
"chiller_full_load_efficiency": 0.6,
"chiller_part_load_efficiency": 0.5
}
}
]
}
The model.osm contains a Chiller:Electric:EIR object.
| 3 | No.3 Revision |
It's a Python measure, so you need to use the --python_path and --python_home options of the CLI. For instance, I'm running OpenStudio 3.10 which uses Python 3.12. I installed Python 3.12 on my machine (I'm using pyenv), installed the copper library (pip install copper) and then ran the following command, and the measure ran successfully.
openstudio --python_path /Users/lero023/.pyenv/versions/3.12.10/ --python_home /Users/lero023/.pyenv/versions/3.12.10 run --workflow wkfl.osw
Here's the content of the OSW file:
{
"seed_file": "model.osm",
"weather_file": "USA_CO_Golden-NREL.724666_TMY3.epw",
"steps": [
{
"measure_dir_name": "GenerateIPLVChillerElectricEIRPerformanceCurves",
"arguments": {
"chiller_name": "TestChiller",
"chiller_compressor_type": "centrifugal",
"chiller_speed_control": "constant",
"chiller_condenser_type": "water",
"chiller_capacity_unit": "ton",
"chiller_capacity": 150,
"chiller_efficiency_unit": "kW/ton",
"chiller_full_load_efficiency": 0.6,
"chiller_part_load_efficiency": 0.5
}
}
]
}
The model.osm contains a Chiller:Electric:EIR object.
| 4 | No.4 Revision |
It's a Python measure, so you need to use the --python_path and --python_home options of the CLI. For instance, I'm running OpenStudio 3.10 which uses Python 3.12. I installed Python 3.12 on my machine (I'm using pyenv), installed the copper library (pip install ) and then ran the following command, and the measure ran successfully.coppercopper-bem
openstudio --python_path /Users/lero023/.pyenv/versions/3.12.10/ --python_home /Users/lero023/.pyenv/versions/3.12.10 run --workflow wkfl.osw
Here's the content of the OSW file:
{
"seed_file": "model.osm",
"weather_file": "USA_CO_Golden-NREL.724666_TMY3.epw",
"steps": [
{
"measure_dir_name": "GenerateIPLVChillerElectricEIRPerformanceCurves",
"arguments": {
"chiller_name": "TestChiller",
"chiller_compressor_type": "centrifugal",
"chiller_speed_control": "constant",
"chiller_condenser_type": "water",
"chiller_capacity_unit": "ton",
"chiller_capacity": 150,
"chiller_efficiency_unit": "kW/ton",
"chiller_full_load_efficiency": 0.6,
"chiller_part_load_efficiency": 0.5
}
}
]
}
The model.osm contains a Chiller:Electric:EIR object.
| 5 | No.5 Revision |
It's a Python measure, so you need to use the --python_path and --python_home options of the CLI. For instance, I'm running OpenStudio 3.10 which uses Python 3.12. I installed Python 3.12 on my machine (I'm using pyenv), installed the copper library (pip install copper-bem) and then ), ran the following command, and the measure ran successfully.
openstudio --python_path /Users/lero023/.pyenv/versions/3.12.10/ --python_home /Users/lero023/.pyenv/versions/3.12.10 run --workflow wkfl.osw
Here's the content of the OSW file:
{
"seed_file": "model.osm",
"weather_file": "USA_CO_Golden-NREL.724666_TMY3.epw",
"steps": [
{
"measure_dir_name": "GenerateIPLVChillerElectricEIRPerformanceCurves",
"arguments": {
"chiller_name": "TestChiller",
"chiller_compressor_type": "centrifugal",
"chiller_speed_control": "constant",
"chiller_condenser_type": "water",
"chiller_capacity_unit": "ton",
"chiller_capacity": 150,
"chiller_efficiency_unit": "kW/ton",
"chiller_full_load_efficiency": 0.6,
"chiller_part_load_efficiency": 0.5
}
}
]
}
The model.osm contains a Chiller:Electric:EIR object.