How to use the hardware.component.semiconductor.Semiconductor.Model.calculate_part function in hardware

To help you get started, we’ve selected a few hardware examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / transistor / Bipolar.py View on Github external
273.0)) - (1.0 / 298.0)))
            self.hazard_rate_model['piT'] = self.piT

            # Set the power rating factor for the model.
            if self.rated_power <= 0.1:
                self.piR = 0.43
            else:
                self.piR = self.rated_power**0.37
            self.hazard_rate_model['piR'] = self.piR

            # Set the voltage stress factor for the model.
            _stress = self.operating_voltage / self.rated_voltage
            self.piS = 0.045 * exp(3.1 * _stress)
            self.hazard_rate_model['piS'] = self.piS

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / transistor / Bipolar.py View on Github external
self.piA = self._lst_piA[self.application - 1]
            self.hazard_rate_model['piA'] = self.piA

            # Set the power rating factor for the model.
            if self.rated_power <= 0.1:
                self.piR = 0.43
            else:
                self.piR = self.rated_power**0.37
            self.hazard_rate_model['piR'] = self.piR

            # Set the voltage stress factor for the model.
            _stress = self.operating_voltage / self.rated_voltage
            self.piS = 0.045 * exp(3.1 * _stress)
            self.hazard_rate_model['piS'] = self.piS

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / optoelectronic / Display.py View on Github external
else:
                    self.base_hr = 0.00043 * self.n_characters
            else:                           # Diode array display
                if self.construction == 1:  # With logic chip
                    self.base_hr = 0.00009 + 0.00017 * self.n_characters + \
                                   0.000043
                else:
                    self.base_hr = 0.00009 + 0.00017 * self.n_characters
            self.hazard_rate_model['lambdab'] = self.base_hr

            # Set the temperature factor for the model.
            self.piT = exp(-2790.0 * ((1.0 / (self.junction_temperature +
                                              273.0)) - (1.0 / 298.0)))
            self.hazard_rate_model['piT'] = self.piT

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / optoelectronic / Detector.py View on Github external
else:
                self._lst_lambdab_count = self._lambda_count[2]

        elif self.hazard_rate_type == 2:
            self.hazard_rate_model['equation'] = 'lambdab * piT * piQ * piE'

            # Set the base hazard rate for the model.
            self.base_hr = self._lst_lambdab[self.type - 1]
            self.hazard_rate_model['lambdab'] = self.base_hr

            # Set the temperature factor for the model.
            self.piT = exp(-2790.0 * ((1.0 / (self.junction_temperature +
                                              273.0)) - (1.0 / 298.0)))
            self.hazard_rate_model['piT'] = self.piT

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / Diode.py View on Github external
# Set the voltage stress factor for the model.
            if self.application > 6:
                self.piS = 1.0
            else:
                _stress = self.operating_voltage / self.rated_voltage
                if _stress <= 0.3:
                    self.piS = 0.054
                else:
                    self.piS = _stress**2.43
            self.hazard_rate_model['piS'] = self.piS

            # Set the contact construction factor for the model.
            self.piC = self._lst_piC[self.construction - 1]
            self.hazard_rate_model['piC'] = self.piC

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / Thyristor.py View on Github external
273.0)) - (1.0 / 298.0)))
            self.hazard_rate_model['piT'] = self.piT

            # Set the current rating factor for the model.
            self.piR = self.rated_current**0.40
            self.hazard_rate_model['piR'] = self.piR

            # Set the voltage stress factor for the model.
            _stress = self.operating_voltage / self.rated_voltage
            if _stress <= 0.3:              # pragma: no cover
                self.piS = 0.1
            else:
                self.piS = _stress**1.9
            self.hazard_rate_model['piS'] = self.piS

        return Semiconductor.calculate_part(self)
github ReliaQualAssociates / ramstk / rtk / hardware / component / semiconductor / transistor / FET.py View on Github external
if self.rated_power < 2.0:
                if self.application == 1:   # Linear amplification
                    self.piA = 1.5
                else:                       # Small signal switching
                    self.piA = 0.7
            elif self.rated_power >= 2.0 and self.rated_power < 5.0:
                self.piA = 2.0
            elif self.rated_power >= 5.0 and self.rated_power < 50.0:
                self.piA = 4.0
            elif self.rated_power >= 50.0 and self.rated_power < 250.0:
                self.piA = 8.0
            elif self.rated_power >= 250.0:
                self.piA = 10.0
            self.hazard_rate_model['piA'] = self.piA

        return Semiconductor.calculate_part(self)