# Power controlled simulation

The most commonly used induction heating process control is power control. When a simulation is built to optimize the heating process, many engineers stumble upon the fact that they **cannot use a power as an input** - instead they need to define the current or voltage in the inductor.

## Why can't power be defined as an input?

To calculate electromagnetic side of induction heating, CENOS (and every other simulation software actually) uses **Maxwell equations** and their derivations. The problem is that the **power value which is known in most cases cannot be used as an input in these equations**, making it fundamentally impossible to carry out power controlled induction heating simulations.

## How to find the input current?

If the current or voltage values in the inductor ar unknown, multiple approaches can be used depending on simulation setup.

### Without B(H) (constant permeability)

If you do not use a B(H) curve in your simulation, you can easily **calculate the current value** which corresponds to your desired power value with just one simulation.

**IMPORTANT**: Run the test calculation **without Thermal Analysis**, it will run faster and the calculated current value will be correct for simulation with thermal analysis as well!

To do this, you need to follow these steps:

- Choose one random current value and run 1 time step. You will find the power value corresponding to the current you defined.

- Without the B(H) curve the power value is proportional to the current. Calculate the necessary current value %% I_2%%, as the relation between %% I_1%% and %% P_1%% is known.

**Example**:

We have a **3kW power** consumption, and we want to calculate the necessary current to put in CENOS.

Run one time step with

**150 A**. From results we see that**150 A**current produces**12.45 W**power.We use the previously mention equation and calculate the current necessary to produce

**3 kW**:

Once you have calculated the necessary current %% I_2%% you can enable thermal analysis, enter the calculated current value and run the simulation with a specified power.

### With B(H)

If the B(H) curve is used, input current will no longer be proportional to the output power. In such a case you need to take your best guess at what the inductor current could be and run one time step of purely electromagnetic simulation. Take a look at the power value in the results and **increase or decrease the current until you reach the desired power consumption**.

With this approach you will need to carry out a couple of simulations to find the correct current value. Remember to **calculate only 1 time step without thermal analysis**!

### μ(T) (heated above Curie temperature)

If the part is heated above Curie temperature, power controlled simulation is not possible, as the impedance of the system changes around and after Curie point that causes jump in current and voltage values. Because of this, to keep the same power value, there needs to be different current or voltage values before and after the Curie point.

In such a case current or voltage can be defined as table values depending on time, and with multiple iterations (similar to the steps with B(H)) you can try to find the setup which corresponds to the necessary power consumption. You can run the current (or voltage) estimation procedure separately under and above Curie point, then you should figure out the time moment for this transition in the additional iterative loop.