GithubHelp home page GithubHelp logo

tfedud / eqinp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from michaelsweeney/eqinp

0.0 0.0 0.0 21 KB

python tool for creating and running DOE2 command line input files

License: MIT License

Python 100.00%

eqinp's Introduction

eqparse

Python module for modifying and running DOE-2 / eQUEST input files.

This module is a work in progress and documentation is currently limited as the API is subject to change.

Getting Started

to get started, git clone this repository and import it into your project.

You'll also need to install the DOE-2 command line program (separately from eQUEST). For more information, visit http://www.doe2.com/

This package assumes that the user has installed the DOE-2 command line program has been installed in C:\DOE2.

Usage example:

from eqinp.inp import Inp import eqparse # use eqparse module for loading results (github.com/michaelsweeney/eqparse)

weather_file = 'TMY3/PA_Philadelphia_Internati.bin'

mybldg = Inp('path_to_my_bldg.inp', weather_file)

mybldg_rotated = mybldg.makeparm('rotation_90_deg', [{ 'kind': 'object', 'bdlobjname': 'Building Data', 'paramname': 'AZIMUTH', 'val': 90 }]) # makeparm provides functionality for modifying the input file

mybldg_rotated.run() # runs command line prompt

mybldg_rotated_results = eqparse.LoadSim(mybldg_rotated.getsimfile()) # use in tandem with eqparse for results print (mybldg_rotated_results.sim.beps())

Authors

Michael Sweeney (github.com/michaelsweeney)

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Thanks to Santosh Philip and his excellent Eppy project for inspiration!

eqinp's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.