First time here? Check our help page!
2

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

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

juhyun Bak's avatar
139
juhyun Bak
asked 2020-08-16 01:50:26 -0500
edit flag offensive 0 remove flag 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's avatar 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's avatar juhyun Bak (2020-08-16 20:27:02 -0500) edit
add a comment see more comments

1 Answer

4

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.

shorowit's avatar
11.8k
shorowit
answered 2020-08-17 09:43:33 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for the answer shorowit.

juhyun Bak's avatar 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's avatar 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's avatar Julien Marrec (2020-08-20 03:26:59 -0500) edit
add a comment see more comments