wigging / bfb-reactor

One-dimensional BFB reactor model
https://wigging.me/bfb-reactor/
MIT License
7 stars 3 forks source link

Suggestions on appropriate code structure #2

Closed wigging closed 7 months ago

wigging commented 3 years ago

The gasifier model calculations are implemented in two classes named GasPhase and SolidPhase. See the gas_phase.py and solid_phase.py files. Are using class objects a good design for this project or would it be better to just use functions for everything? Or is there a better design pattern that is suitable for this project?