shipCapacityCurve.Tools Namespace Reference

Functions

def tankCapacityCurve (tank, n)
 

Function Documentation

◆ tankCapacityCurve()

def shipCapacityCurve.Tools.tankCapacityCurve (   tank,
  n 
)
Create a tank capacity curve

Position arguments:
tank -- Tank object (see createTank)
ship -- n Number of filling levels to test

Returned value:
List of computed points. Each point contains the filling level percentage
(interval [0, 1]), the filling level (0 for the bottom of the tank), and
the volume.