Skip to content

Overview

Create a Project object by instancing the epanetJs.Project class with a Workspace object.

import { Workspace, Project } from `epanet-js`
const ws = new Workspace()
const model = new Project(ws)
FunctionsDescription
Project FunctionsThese functions are used to manage a project
Hydraulic Analysis FunctionsThese functions are used to perform a hydraulic analysis
Water Quality Analysis FunctionsThese functions are used to perform a water quality analysis
Reporting FunctionsThese functions are used to report simulation results
Analysis Options FunctionsThese functions are used to get and set analysis options
Network Node FunctionsThese functions are used for working with network nodes
Nodal Demand FunctionsThese functions are used for managing nodal demands
Network Link FunctionsThese functions are used for working with network links
Time Pattern FunctionsThese functions are used for working with time patterns
Data Curve FunctionsThese functions are used for working with data curves
Simple Control FunctionsThese functions are used for working with simple conditional controls
Rule-Based Control FunctionsThese functions are used for working with rule-based controls