smpl.envs.models package

Submodules

smpl.envs.models.atropine_process module

class smpl.envs.models.atropine_process.LLSeparator(ID: int, volume: float)[source]

Bases: object

static get_algebraic(x, z, u, d)[source]
get_derivative(x, z, u, d)[source]
class smpl.envs.models.atropine_process.Mixer(ID: int, num_inputs: int)[source]

Bases: object

mix_streams_mass()[source]
class smpl.envs.models.atropine_process.Plant(ND1, ND2, ND3, V1, V2, V3, V4, dt)[source]

Bases: object

static calculate_Efactor(z)[source]
get_algebraic(x, z, u)[source]
get_derivative(x, z, u)[source]
mix_and_get_initial_condition(x, u)[source]
simulate(x, z, u)[source]
class smpl.envs.models.atropine_process.Stream[source]

Bases: object

component_mass_concentration_to_component_mass_flowrate()[source]
component_molar_concentration_to_component_mass_concentration()[source]
component_volumetric_flowrate_to_component_mass_flowrate()[source]
evaluate_average_mass_density()[source]
evaluate_component_mass_fraction()[source]
evaluate_component_molar_concentration()[source]
evaluate_total_mass_flowrate()[source]
evaluate_total_volumetric_flowrate()[source]
print_stream()[source]
total_mass_flowrate_to_component_mass_flowrate()[source]
total_volumetric_flowrate_to_total_mass_flowrate()[source]
class smpl.envs.models.atropine_process.TubularReactor(ID: int, volume: float = 0.3, num_discretization_points: int = 5)[source]

Bases: object

get_derivative(x, u, d)[source]
smpl.envs.models.atropine_process.atropine_mpc_controller(x0, N, Nx, Nu, uss, ur, yr, A, B, C, D)[source]
smpl.envs.models.atropine_process.atropine_sim_model(x, u, A, B, C, D)[source]

smpl.envs.models.config module

Module contents