constructor()

in misc/data-generator/src/turbine.ts [28:60]


    constructor(props: TurbineProps) {
        this.torqueDataGenerator = new DataGenerator({
            min: 1,
            max: 4,
            minIncrement: 0.0001,
            maxIncrement: 0.05,
            propertyId: props.torquePropertyId
        });

        this.windDirectionDataGenerator = new DataGenerator({
            min: 0,
            max: 360,
            minIncrement: 0.1,
            maxIncrement: 5,
            propertyId: props.windDirectionPropertyId
        });
        this.rotationsPerMinuteDataGenerator = new DataGenerator({
            min: 10,
            max: 40,
            minIncrement: 0.1,
            maxIncrement: 0.5,
            propertyId: props.rotationsPerMinutePropertyId
        });
        this.windSpeedDataGenerator = new DataGenerator({
            min: 10,
            max: 50,
            minIncrement: 0.1,
            maxIncrement: 10.5,
            propertyId: props.windSpeedPropertyId
        });

        this.assetId = props.assetId;
    }