Skip to content

Source structure

Leandro Acquaroli edited this page Aug 15, 2019 · 2 revisions

This structure construct the electrical source power and the linear frequency range of the simulation:

Source(p, f)

where Source <: HeaterSource.

Electrical power

p::Float64 is the peak power applied to the heater, in units of Watt. The power is defined as the product of the resistance at the temperature the measurements are taken times the squared electrical current that flows through the pads.

Frequency range

f is the frequency range in units of Hertz. The recommended way to define this parameters is in log-space. An easy way to do this is

f = exp10.(LinRange(f_initial, f_final, f_length))

Notice that if you set the range in linear-space and then take a log-plot, results in a less convenient look of the simulation.

Clone this wiki locally