DiscoverLearnDocumentationGet OpenPLXSearch Contact

DriveTrain/Traits/PowerGenerator.openplx

PowerGenerator

trait PowerGenerator:
    .doc: """
A trait for DurationInput that can be implemented for interactions
that have an non ambiguous interpretation of a time signal input in seconds.
"""
    # Optional efficiency factor (0.0 - 1.0)
    # efficiency is Real

    # Optional reference to a power or energy source (e.g. battery, fuel tank)
    # power_source is PowerSource

OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X