Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
4

ExpandObjects source code

asked 2015-02-10 13:25:34 -0500

scottb's avatar

updated 2017-05-29 17:56:19 -0500

Is there any intent to open source the ExpandObjects tool for pre-processing IDFs?

I find myself occasionally wishing I could develop new HVACTemplate objects to suite my needs.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2015-02-10 14:33:15 -0500

The ExpandObjects source code is in a single Fortran 90 file called epfilter.f90. It can be seen at:

https://github.com/NREL/EnergyPlus/tree/develop/src/ExpandObjects

It was designed to make it extendable to new HVACTemplates.

edit flag offensive delete link more

Comments

Jason, I'm slightly confused... I was expecting those f90 files to have been converted to C++ with v8.2. Am I missing something?

Julien Marrec's avatar Julien Marrec  ( 2015-02-11 02:24:12 -0500 )edit

The main focus of the conversion from Fortran to C++ was the main EnergyPlus program. Many utilities, like ExpandObjects, were not converted to C++.

JasonGlazer's avatar JasonGlazer  ( 2015-02-11 06:56:59 -0500 )edit

Understood, thanks. Is there a plan to convert those at some point or will they remain in fortran?

Julien Marrec's avatar Julien Marrec  ( 2015-02-11 07:09:11 -0500 )edit

We could do that. We have Stuart Mentzer (the man who translated EnergyPlus) under contract. Stay tuned.

__AmirRoth__'s avatar __AmirRoth__  ( 2015-02-11 09:30:55 -0500 )edit

Great! Glad I brought this up. I was confused by the f90 vs cpp issue as well

scottb's avatar scottb  ( 2015-02-11 09:50:55 -0500 )edit

I'm curious if there have been any updates on this. Also, what's the possibility of modifying this code and recompiling only the exapndobjects exe - can that be done without recomiling the whole shebang (forgive the probably simple question from a non-software developer). As I put in another post, I'm trying to change the default fan curve coefficients.

bbrannon4's avatar bbrannon4  ( 2023-01-12 21:35:02 -0500 )edit

Recompiling ExpandObjects would not take too much effort if you were already familiar with how to set up and compile EnergyPlus but if you have not done that it would be a bit more of a challenge. Swapping out some coefficients sounds easy also. It gets more complex if you want that to go into the normal distribution with EnergyPlus because then everyone else that uses ExpandObjects would be using those new coefficients. If you just want a custom version of ExpandObjects for your own use, that would be easier.

JasonGlazer's avatar JasonGlazer  ( 2023-01-13 07:40:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2015-02-10 13:25:34 -0500

Seen: 168 times

Last updated: Feb 10 '15