CADET-Core icon indicating copy to clipboard operation
CADET-Core copied to clipboard

Move NBOUND parameter from discretization to unit_xxx/adsorption parameters group

Open schmoelder opened this issue 4 years ago • 5 comments

Moving the parameter NBOUND from the discretization group (where it is needed in the code) to the unit_operation parameters group makes more sense in the user interface.

See also #18

schmoelder avatar Mar 10 '20 16:03 schmoelder

I would be okay with reading it from either location but I am against just moving it since you break all existing simulations and gain nothing in the process.

Immudzen avatar Mar 10 '20 16:03 Immudzen

I understand your point. And for now being able to read it from both places seems reasonable to me.

For consistency's sake I still think it should be moved but maybe this can be done at some point in the future when other breaking changes are also introduced.

Just for some background, in CADET-Process the configuration of discretization parameters is separate from the model parameters. Hence it leads to some inconveniences when finally setting up the h5 file. Nothing too dramatic, just has always bothered me. ;-)

schmoelder avatar Mar 10 '20 16:03 schmoelder

Actually, it should probably be moved to the adsorption parameters group since it sets the expected length of the isotherm parameters.

schmoelder avatar Nov 02 '20 14:11 schmoelder

I agree with Bill that we should be very careful with breaking changes unless absolutely neccessary.

lieres avatar Nov 03 '20 09:11 lieres

I also found that the number of particle types NPARTYPE is set in the discretization branch.

While I agree that we should definitely not introduce breaking changes (either by implementing a file version converter or by simply looking at the old location if parameter is not found), the location of these parameters is somewhat unintuitive. I would rather keep the physicochemical model separate from the numerical discretization. This is especially relevant since now the configuration of adsorption models and multiple particle types is different for the CSTR and the column models.

schmoelder avatar Dec 18 '20 09:12 schmoelder

@jbreue16 , did you do this?

ronald-jaepel avatar Jun 12 '24 12:06 ronald-jaepel

Yes, in #177

jbreue16 avatar Jun 12 '24 15:06 jbreue16