Question-and-Answer Resource for the Building Energy Modeling Community
Get s tarted with the Help page
Ask Your Question
2

In EnergyPlus source code, what does OAMFL, VAMFL, EAMFL, and CTMFL stand for?

asked 2020-08-16 01:50:26 -0500

juhyun Bak gravatar image

In EnergyPlus source code, what does OAMFL, VAMFL, EAMFL, and CTMFL stand for?

edit retag flag offensive close merge delete

Comments

1

@juhyun Bak we need more information to help you. What file in the source code conains these variables? If possible, can you include the permalink to the specific line(s) in the file(s) on the EnergyPlus Github? Or include the source code with these variables in your post?

Aaron Boranian gravatar image Aaron Boranian  ( 2020-08-16 17:29:14 -0500 )edit

EnergyPlus-9.2.0\src\EnergyPlus\ZoneContaminantPredictorCorrector.cc

I can find them in many places in the file, but one example is starting around Line 2065.

juhyun Bak gravatar image juhyun Bak  ( 2020-08-16 20:27:02 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2020-08-17 09:43:33 -0500

If you search the source code for references to these variables, you will find where they are defined. Here is the list where they are first initialized/defined.

edit flag offensive delete link more

Comments

Thanks for the answer shorowit.

juhyun Bak gravatar image juhyun Bak  ( 2020-08-18 05:37:57 -0500 )edit
1

I suggest using grep (which can be installed on windows too).

cd EnergyPlus/src/EnergyPlus
grep -n --color=always -R OAMFL *.hh
DataHeatBalFanSys.hh:146:    extern Array1D<Real64> OAMFL;                      // OUTDOOR AIR MASS FLOW (kg/s) for infiltration
Julien Marrec gravatar image Julien Marrec  ( 2020-08-20 03:23:10 -0500 )edit
1

I always want to pass -n --color=always so I aliased grep to automatically include this and exclude flags

alias grep="/bin/grep -n --color=always --exclude='*.pyc' --exclude-dir='.git' --exclude-dir='.clangd' --exclude='compile_commands.json' --exclude='tags' --exclude-dir='.vscode' --exclude-dir='.ipynb' --exclude-dir='build' --exclude-dir='.tox' --exclude='*.swp'"
Julien Marrec gravatar image Julien Marrec  ( 2020-08-20 03:26:59 -0500 )edit

Your Answer

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

Add Answer

 

Question Tools

1 follower

Stats

Asked: 2020-08-16 01:50:26 -0500

Seen: 92 times

Last updated: Aug 17 '20