This release provides functionality for designing pipelines of linear, continuous flow.
- Each pipeline (component) that is created is ensured to have a valid nominal size that is constructable.
- Each pipeline has the ability to find a head loss from a target flow rate, and vice-versa.
There are three concrete classes (`Pipe`, `Tee`, `Elbow`) which can be instantiated, and one abstract class that can be used to make custom components (`PipelineComponent`). To create a pipeline, chain together multiple components like you would with a [linked list](https://www.tutorialspoint.com/python/python_linked_lists):
python
import aguaclara as ac
from aguaclara.core.units import u
pipeline = ac.Pipe(next = ac.Elbow(next = ac.Pipe(next = ac.Tee())))
pipeline.headloss_pipeline()
pipeline.flow_pipeline(target_headloss = 20 * u.cm)
*Important notes:*
- `Tee` currently only has functionality to simulate a tee fitting with one (and only one) socket being covered by a stopper. However, there is the option to choose which socket is covered by the stopper.
- The old `aguaclara.core.pipes` module still works the same, but we encourage you to use the new classes as shown above.