Update README.md
Browse files20 unmodified lines212223242526272829303132333435363738394041424344454620 unmodified lines6768697020 unmodified lines[Paper here](https://doi.org/10.1016/j.apenergy.2024.123431).## π Key Features- Scalability: Auto-generates complex EnergyPlus models, including varying geometries, materials, thermal zones, hourly schedules, and more.- Accuracy & Efficiency: Achieves 100% modeling accuracy while reducing manual modeling time by over 98%.- Interaction & Automation: A user-friendly human-AI interface for seamless model creation and customization.- Flexible Design Scenarios:β Geometry: square, L-, T-, U-, and hollow-square-shaped buildingsβ Roof types: flat, gable, hip β customizable attic/ridge heightβ Orientation & windows: custom WWR, window placement, facade-specific controlsβ Walls & materials: thermal properties, insulation typesβ Internal loads: lighting, equipment, occupancy, infiltration/ventilation, schedules, heating/cooling setpointsβ Thermal zoning: configurable multi-zone layouts with core & perimeter zones## ποΈ Target UsersThis current platform is designed for engineers, architects, and researchers working in building performance, sustainability, and resilience. It is especially useful during early-stage conceptual design when modeling decisions have the greatest impact.## π Quick StartThis repository contains v2 and v1 of EPlus-LLM, along with implementation details for the ABEM reference.π Repository Structure20 unmodified lines```cd v2python EPlus-LLM/v2/Inference.py```20 unmodified lines21222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828320 unmodified lines10410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413520 unmodified lines[Paper here](https://doi.org/10.1016/j.apenergy.2024.123431).## π Key Features- Scalability: Auto-generates EnergyPlus models, including varying geometry sizes and internal loads.- Accuracy & Efficiency: Achieves 100% modeling accuracy while reducing manual modeling time by over 95%.- Interaction & Automation: A user-friendly human-AI interface for seamless model creation and customization.## ποΈ Target UsersThis current platform is designed for engineers, architects, and researchers working in building performance, sustainability, and resilience. It is especially useful during early-stage conceptual design when modeling decisions have the greatest impact.## π Quick StartHere provides a code snippet to show you how to load the EPlus-LLM and auto-generate building energy models.```pythongeneration_config = model.generation_configgeneration_config.max_new_tokens = 1300generation_config.temperature = 0.1generation_config.top_p = 0.1generation_config.num_return_sequences = 1generation_config.pad_token_id = tokenizer.eos_token_idgeneration_config.eos_token_id = tokenizer.eos_token_idfrom transformers import AutoModelForCausalLM, AutoTokenizermodel_name = "Qwen/Qwen2.5-32B-Instruct"model = AutoModelForCausalLM.from_pretrained(model_name,torch_dtype="auto",device_map="auto")tokenizer = AutoTokenizer.from_pretrained(model_name)prompt = "Give me a short introduction to large language model."messages = [{"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},{"role": "user", "content": prompt}]text = tokenizer.apply_chat_template(messages,tokenize=False,add_generation_prompt=True)model_inputs = tokenizer([text], return_tensors="pt").to(model.device)generated_ids = model.generate(**model_inputs,max_new_tokens=512)generated_ids = [output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)]response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]```π Repository Structure20 unmodified lines```cd v2python EPlus-LLM/v2/Inference.py```## π CitationIf you find our work helpful, feel free to give us a cite.```@article{jiang2025prompt,author = {Gang Jiang and Zhihao Ma and Liang Zhang and Jianli Chen},title = {Prompt engineering to inform large language models in automated building energy modeling},journal = {Applied Energy},volume = {367},pages = {123431},year = {2024},month = {Aug},doi = {https://doi.org/10.1016/j.apenergy.2024.123431}}@article{jiang2025prompt,author = {Gang Jiang and Zhihao Ma and Liang Zhang and Jianli Chen},title = {Prompt engineering to inform large language models in automated building energy modeling},journal = {Energy},volume = {316},pages = {134548},year = {2025},month = {Feb},doi = {https://doi.org/10.1016/j.energy.2025.134548}}```
README.md+77-12