EPlus-LLM commited on
Commit
0b3f738
·
verified ·
1 Parent(s): 49a1596

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -97,7 +97,6 @@ generation_config.eos_token_id = tokenizer.eos_token_id
97
 
98
  # Please provide your input here — a description of the desired building
99
  # For more details, please refer to the paper: https://doi.org/10.1016/j.autcon.2025.106223
100
-
101
  input=f"""
102
  Simulate a U-shaped building that is 99.73 meters high, with a gable roof.
103
  The horizontal segment is 732.31 meters long and 17.54 meters wide.
@@ -117,6 +116,7 @@ The heating setpoint is 21.54 Celsius in occupancy period and 15.86 Celsius in u
117
  The cooling setpoint is 22.6 Celsius in occupancy period and 26.72 Celsius in unoccupancy period.
118
  """
119
 
 
120
  input_ids = tokenizer(input, return_tensors="pt", truncation=False)
121
  generated_ids = model.generate(input_ids = input_ids.input_ids,
122
  attention_mask = input_ids.attention_mask,
@@ -139,12 +139,12 @@ ZoneHVAC:IdealLoadsAirSystem,Thermal Zone 4 Ideal Loads Air System,,Thermal Zone
139
  zone_5 = """ZoneHVAC:EquipmentConnections,Thermal Zone 5,Thermal Zone 5 Equipment,Thermal Zone 5 Ideal Loads Supply Inlet,,Thermal Zone 5 Zone Air Node,Thermal Zone 5 Return Outlet;
140
  ZoneHVAC:EquipmentList,Thermal Zone 5 Equipment,SequentialLoad,ZoneHVAC:IdealLoadsAirSystem,Thermal Zone 5 Ideal Loads Air System,1,1,,;
141
  ZoneHVAC:IdealLoadsAirSystem,Thermal Zone 5 Ideal Loads Air System,,Thermal Zone 5 Ideal Loads Supply Inlet,,,50,13,0.0156,0.0077,NoLimit,,,NoLimit,,,,,ConstantSensibleHeatRatio,0.7,None,,,None,NoEconomizer,None,0.7,0.65;"""
142
-
143
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 1;", zone_1)
144
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 2;", zone_2)
145
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 3;", zone_3)
146
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 4;", zone_4)
147
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 5;", zone_5)
 
148
  # Output the building energy model in IDF file
149
  with open(file_path, 'r', encoding='utf-8') as file:
150
  nextpart = file.read()
 
97
 
98
  # Please provide your input here — a description of the desired building
99
  # For more details, please refer to the paper: https://doi.org/10.1016/j.autcon.2025.106223
 
100
  input=f"""
101
  Simulate a U-shaped building that is 99.73 meters high, with a gable roof.
102
  The horizontal segment is 732.31 meters long and 17.54 meters wide.
 
116
  The cooling setpoint is 22.6 Celsius in occupancy period and 26.72 Celsius in unoccupancy period.
117
  """
118
 
119
+ # EPlus-LLM generating...
120
  input_ids = tokenizer(input, return_tensors="pt", truncation=False)
121
  generated_ids = model.generate(input_ids = input_ids.input_ids,
122
  attention_mask = input_ids.attention_mask,
 
139
  zone_5 = """ZoneHVAC:EquipmentConnections,Thermal Zone 5,Thermal Zone 5 Equipment,Thermal Zone 5 Ideal Loads Supply Inlet,,Thermal Zone 5 Zone Air Node,Thermal Zone 5 Return Outlet;
140
  ZoneHVAC:EquipmentList,Thermal Zone 5 Equipment,SequentialLoad,ZoneHVAC:IdealLoadsAirSystem,Thermal Zone 5 Ideal Loads Air System,1,1,,;
141
  ZoneHVAC:IdealLoadsAirSystem,Thermal Zone 5 Ideal Loads Air System,,Thermal Zone 5 Ideal Loads Supply Inlet,,,50,13,0.0156,0.0077,NoLimit,,,NoLimit,,,,,ConstantSensibleHeatRatio,0.7,None,,,None,NoEconomizer,None,0.7,0.65;"""
 
142
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 1;", zone_1)
143
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 2;", zone_2)
144
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 3;", zone_3)
145
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 4;", zone_4)
146
  generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 5;", zone_5)
147
+
148
  # Output the building energy model in IDF file
149
  with open(file_path, 'r', encoding='utf-8') as file:
150
  nextpart = file.read()