BioSTEAMDevelopmentGroup / biosteam

The Biorefinery Simulation and Techno-Economic Analysis Modules; Life Cycle Assessment; Chemical Process Simulation Under Uncertainty
Other
180 stars 35 forks source link

Add parameter N_reactors to StirredTankReactor and enable passing RGBn tuples as arguments for color_wheel in plot_spearman_2d #205

Closed sarangbhagwat closed 5 months ago

sarangbhagwat commented 5 months ago

As the title suggests, these are minor changes enabling the following: (i) View number of reactors for a StirredTankReactor object using a new attribute, N_reactors; (ii) Pass iterable of RGBn tuples rather than iterable of colors for the color_wheel argument in plot_spearman_2d.

I have updated the doctest for StirredTankReactor to cover (i); if testing is needed for (ii), feel free to add any, thanks!