name

property Flywheel.name: str

Name of the flywheel. It must be a non-empty str.

It must be a unique name, not shared by other elements in the powertrain elements.

Once set at the flywheel instantiation, it cannot be changed afterward.

Returns

str

Name of the flywheel.

Raises

TypeError

If name is not a str.

ValueError

If name is an empty str.