BreakingBytes / simkit

Model Simulation Framework
http://breakingbytes.github.io/simkit/
BSD 3-Clause "New" or "Revised" License
27 stars 16 forks source link

Formula features #92

Open mikofski opened 7 years ago

mikofski commented 7 years ago
  1. Allow meta keys to be assigned per parameter our per class
  2. Allow different name for import than what carousel calls it
  3. Allow specify by object of already imported

Examples:

f_eqn1 = FormulaParameter(args=('blah'), module='.irrad', package='simeng2.formulas')
f_eqn2 = FormulaParameter('perez', args=('blah'), module='.irradiance', package='pvlib')
from pvlib.irradiance import perez
f_eqn3 = FormulaParameter(perez, args=('blah'))