Run 0-D Model

tests.test_case_0dparcel.run_0dparcel_model.run_0dparcel_model(time, time_end, timestep, thermo, microphys_scheme)[source]

Run a 0-D parcel model with a specified microphysics scheme and parcel dynamics.

This function runs a 0-D parcel model with the given initial thermodynamic conditions, and microphysics scheme from time to time_end with a constant timestep using an instance of AdiabaticMotion for the parcel dynamics.

Parameters:
time (float):

Initial time for the simulation (s).

time_end (float):

End time for the simulation (s).

timestep (float):

Timestep for the simulation (s).

thermo (Thermodynamics):

Initial thermodynamic conditions.

microphys_scheme:

Microphysics scheme to use.

Returns:

OutputThermodynamics: Output containing thermodynamic data from the model run.