bio_rtd.chromatography.bt_load¶
ConstantPatternSolution¶
-
class
bio_rtd.chromatography.bt_load.ConstantPatternSolution(dt, dbc_100, k, bt_profile_id='')[source]¶ Bases:
bio_rtd.core.ChromatographyLoadBreakthrough-
assert_and_get_provided_kv_pairs(**kwargs)¶ - Parameters
kwargs – Inputs to calc_pdf(**kwargs) function
- Returns
Filtered kwargs so the keys contain first possible key group in _possible_key_groups and any number of optional keys from _optional_keys.
- Return type
dict
- Raises
ValueError – If **kwargs do not contain keys from any of the groups in _possible_key_groups.
-
calc_c_bound(f_load, c_load)¶ Calculates what parts of load bin to the column.
- Parameters
f_load (
ndarray) – Load flow rate profile.c_load (
ndarray) – Load concentration profile. Concentration profile should include only species which bind to the column.
- Returns
Parts of the load that binds to the column during the load step. c_bound has the same shape as c_load.
- Return type
c_bound
Notes
This is default implementation. The user is welcome to override this function in a custom child class.
-
get_total_bc()[source]¶ Total binding capacity
Useful for determining column utilization.
- Return type
float
-
property
log¶ Logger.
If logger is not set, then a DefaultLogger is instantiated. Setter also plants a data tree into passed logger.
- Return type
-
set_logger_from_parent(parent_id, logger)¶ Inherit logger from parent.
- Parameters
parent_id (
str) –logger (
RtdLogger) –
-
update_btc_parameters(**kwargs)¶ Update binding dynamics for a given set of parameters.
- Return type
None
-