HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
5.88 kB
{
"id": "design-optimization--cli--openstudio--task-01--ubuntu",
"snapshot": "OpenStudio-1.11.0",
"instruction": "Complete the OpenStudio optimization from the command line. Use `/usr/local/openstudioapplication-1.11.0-rc2/bin/openstudio` for OpenStudio CLI or API automation when working on `baseline.idf`. Use OpenStudio CLI/SDK 3.11.0 from the OpenStudio Application 1.11.0 snapshot; its standard workflow runner invokes the bundled EnergyPlus 25.2 engine. Start from /home/user/Desktop/baseline.idf, /home/user/Desktop/weather.epw, /home/user/Desktop/constraints.json, and the provided /home/user/Desktop/workflow.osw and /home/user/Desktop/measures/use_optimized_idf measure. baseline.idf is an EnergyPlus input model, not an OpenStudio OSM: create /home/user/Desktop/optimized.idf from it using OpenStudio CLI/SDK tooling, changing only the allowed design variables. Do not invoke an EnergyPlus executable directly and do not use the GUI. Produce the best feasible design you can under the constraints rather than trying to match one hidden answer. Case: a compact visitor-facing office where envelope upgrades and controlled glazing should reduce annual EUI without deleting occupancy or internal-load semantics. Objective: Minimize annual site EUI for a compact visitor office by tuning envelope insulation, glazing performance, shading, lighting density, and equipment density. Allowed design variables are the constrained fields in constraints.json, including cooling_setpoint_c, daylight_control_fraction, equipment_w_per_m2, heating_setpoint_c, infiltration_ach, lighting_w_per_m2, people_density_m2, roof_r_value_m2k_w, shade_ratio, wall_r_value_m2k_w, window_shgc, window_u_value_w_m2k, wwr. Preserve the listed space names, thermal zone names, floor area, exterior wall area, and core geometry. The final IDF must keep an ENGIWORLD_OPTIMIZATION_METADATA JSON block with the selected design_variables, model_quantities, source_baseline_sha256, constraints_sha256, and weather_sha256. Run the provided OSW through the standard entry point `openstudio run -w /home/user/Desktop/workflow.osw`; its EnergyPlus Measure loads optimized.idf as the EnergyPlus workspace input after the model-translation stage, weather.epw supplies weather, and the subsequent workflow stage invokes OpenStudio's bundled EnergyPlus and writes simulation artifacts under /home/user/Desktop/run. Required outputs are exactly: /home/user/Desktop/optimized.idf, /home/user/Desktop/run/eplusout.sql, /home/user/Desktop/run/eplusout.err, /home/user/Desktop/energy_report.csv, and /home/user/Desktop/design_summary.json. Build the CSV and JSON reports from the workflow-produced SQL rather than hand-writing simulation results. The evaluator reparses optimized.idf, checks hashes and hard constraints from constraints.json, reruns the submitted IDF through an evaluator-owned copy of the same OpenStudio 3.11.0 workflow and EnergyPlus Measure, reads the standard EnergyPlus SQLite tables from that workflow run, and cross-checks your submitted eplusout.sql, energy_report.csv, and design_summary.json against those metrics and IDF-derived plausibility bounds. It then returns a continuous score in [0, 1]. Hard failures, missing simulation files, inconsistent report values, illegal geometry/load changes, excessive unmet hours, negative or implausibly low energy, modifying eval.py, reading evaluator-generated artifacts, bypassing the OpenStudio workflow to call EnergyPlus directly, or fabricating metrics that do not agree with the model and SQL will receive score 0.",
"source": "https://github.com/NREL/OpenStudio/releases/tag/v3.11.0; https://github.com/NREL/OpenStudio/tree/v3.11.0/src/cli; https://bigladdersoftware.com/epx/docs/25-2/output-details-and-examples/eplusout-sql.html",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-01/init_file/baseline.idf",
"path": "/home/user/Desktop/baseline.idf"
},
{
"local_path": "task-01/init_file/weather.epw",
"path": "/home/user/Desktop/weather.epw"
},
{
"local_path": "task-01/init_file/constraints.json",
"path": "/home/user/Desktop/constraints.json"
},
{
"local_path": "task-01/init_file/workflow.osw",
"path": "/home/user/Desktop/workflow.osw"
},
{
"local_path": "task-01/init_file/measures/use_optimized_idf/measure.rb",
"path": "/home/user/Desktop/measures/use_optimized_idf/measure.rb"
},
{
"local_path": "task-01/init_file/measures/use_optimized_idf/measure.xml",
"path": "/home/user/Desktop/measures/use_optimized_idf/measure.xml"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"openstudio"
],
"artifact_paths": [
"/home/user/Desktop/design_summary.json",
"/home/user/Desktop/energy_report.csv",
"/home/user/Desktop/optimized.idf",
"/home/user/Desktop/run/eplusout.err",
"/home/user/Desktop/run/eplusout.sql"
],
"evaluator": {
"metric": {
"baseline_score": 0.066686,
"direction": "maximize",
"name": "weighted EUI, HVAC energy, peak cooling, and comfort score",
"output_field": "score"
},
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-01/eval.py",
"path": "/home/user/Desktop/eval.py"
}
]
}
}
],
"func": "quantified_score",
"result": {
"type": "vm_command_line",
"command": "python3 /home/user/Desktop/eval.py",
"shell": "true"
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}