Пример #1
0
        public override VIRCurrent ModifyElectricityInput(VIRCurrent Current,
                                                          ElectricalOIinheritance SourceInstance,
                                                          IntrinsicElectronicData ComingFromm)
        {
            float Resistance = ElectricityFunctions.WorkOutResistance(ControllingNode.Node.InData.Data.SupplyDependent[SourceInstance].ResistanceGoingTo);
            var   Voltage    = ElectricityFunctions.WorkOutVoltage(ControllingNode.Node);

            VIRCurrent Currentout =
                TransformerCalculations.ElectricalStageTransformerCalculate(this,
                                                                            Current,
                                                                            Resistance,
                                                                            Voltage,
                                                                            HighsideConnections.Contains(ComingFromm.Categorytype));

            return(Currentout);
        }