Skip to content

Purecontrol/ASPSimulator.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASPSimulator.jl

ASPSimulator.jl is a lightweight Julia package designed for simulating Ordinary Differential Equations (ODEs) in the context of Activated Sludge Processes (ASP).

Quick Start Example

Below is a basic example demonstrating how to use the package:

using ASPSimulator, Dates, OrdinaryDiffEq, Plots

# Select the system model
system = :asm1

# Initialize the ODE core
core = ASPSimulator.ODECore(system, variable_inlet_concentration=false)

# Run the simulation for 14 days with specified aeration and waiting times
ts_asm1 = multi_step!(core, clock_control(t_aerating = 30.0, t_waiting = 60.0), Day(14))

# Plot the results
plot(ts_asm1[:, :nh4])

Supported Systems

Currently, the following ASP models are supported:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages