## Modelica_LinearSystems2.Examples.ZerosAndPoles

### Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

### Package Content

Name | Description
--- | ---
analysisZerosAndPoles | Compute zeros and poles of a ZerosAndPoles transfer function
analysisDcGain | Compute steady state gain
conversionToStateSpace | Transform a transfer function from zeros and poles representation into a StateSpace description
plotPolesAndZeros | Example for plotting poles and zeros of a ZerosAndPoles transfer function
plotBode1 | Construct a ZerosAndPoles system and plot the Bode diagram with automatic determination of the frequency range to plot
plotBode2 | Bode plot of PT2 transfer function with zero damping
plotBode3 | Construct a ZerosAndPoles system and plot the Bode diagram with automatic determination of the frequency range to plot
plotBodeFilter1 | Compute filter and plot frequency response of filter
plotBodeFilter2 | Show low pass filters of all filter types
plotBodeFilter3 | Show high pass filters of all filter types
plotStep | Step plot example

## Modelica_LinearSystems2.Examples.ZerosAndPoles.analysisZerosAndPoles

Compute zeros and poles of a ZerosAndPoles transfer function

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.analysisDcGain

Compute steady state gain

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.conversionToStateSpace

Transform a transfer function from zeros and poles representation into a StateSpace description

### Inputs

Name | Description
--- | ---
zpi |

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotPolesAndZeros

Example for plotting poles and zeros of a ZerosAndPoles transfer function

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBode1

Construct a ZerosAndPoles system and plot the Bode diagram with automatic determination of the frequency range to plot

### Inputs

Name | Description
--- | ---
f_cut | PT1 with cut-off frequency f_cut [Hz]

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBode2

Bode plot of PT2 transfer function with zero damping

### Inputs

Name | Description
--- | ---
f_cut | Cut-off frequency of denominator PT2 [Hz]
D | Damping of denominator PT2
k | Gain
nPoints |

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBode3

Construct a ZerosAndPoles system and plot the Bode diagram with automatic determination of the frequency range to plot

### Inputs

Name | Description
--- | ---
f_cut_num | Cut-off frequency of numerator PT2 and PT1 [Hz]
D_num | Damping of numerator PT2
f_cut_den | Cut-off frequency of denominator PT2 and PT1 [Hz]
D_den | Damping of denominator PT2
k | Gain

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBodeFilter1

Compute filter and plot frequency response of filter

### Inputs

Name | Description
--- | ---
analogFilter | Analog filter characteristics (CriticalDamping/Bessel/Butterworth/Chebyshev)
order |
f_cut | [Hz]

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBodeFilter2

Show low pass filters of all filter types

### Inputs

Name | Description
--- | ---
order | Order of filter
f_cut | Cut-off frequency [Hz]
A_ripple | Pass band ripple for Chebyshev filter (otherwise not used) [dB]
f_min | Minimum frequency value [Hz]
f_max | Maximum frequency value [Hz]

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotBodeFilter3

Show high pass filters of all filter types

### Inputs

Name | Description
--- | ---
order | Order of filter
f_cut | Cut-off frequency [Hz]
A_ripple | Pass band ripple for Chebyshev filter (otherwise not used) [dB]
f_min | Minimum frequency value [Hz]
f_max | Maximum frequency value [Hz]

### Outputs

Name | Description
--- | ---
ok |

## Modelica_LinearSystems2.Examples.ZerosAndPoles.plotStep

Step plot example

### Information

Computes the impulse response of the system tf =1/s^2 + s + 1.