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)Class Methods
Section titled “Class Methods”| Functions | Description |
|---|---|
| Project Functions | These functions are used to manage a project |
| Hydraulic Analysis Functions | These functions are used to perform a hydraulic analysis |
| Water Quality Analysis Functions | These functions are used to perform a water quality analysis |
| Reporting Functions | These functions are used to report simulation results |
| Analysis Options Functions | These functions are used to get and set analysis options |
| Network Node Functions | These functions are used for working with network nodes |
| Nodal Demand Functions | These functions are used for managing nodal demands |
| Network Link Functions | These functions are used for working with network links |
| Time Pattern Functions | These functions are used for working with time patterns |
| Data Curve Functions | These functions are used for working with data curves |
| Simple Control Functions | These functions are used for working with simple conditional controls |
| Rule-Based Control Functions | These functions are used for working with rule-based controls |