# Pid_Controlled_Bidirectional

Syntax

  Bc Flux For Energy ([{of} SpeciesName] | [{in} MaterialPhaseName] | [{ls} {a | b | c}]) {@ | at | for | on | over} Mesh Extent Name ([Touching TouchingMeshExtent] | [Opposing OpposingMeshExtent]) = Pid_Controlled_Bidirectional ([Power_Output = power_output] | [Flux_Output = flux_output] | [Toggle = toggle] | Max_Cooling_Power = Max_Cooling_Power | Max_Heating_Power = Max_Heating_Power | [P = p] | [I = i] | [D = d] | [T_I = t_i] | [T_D = t_d] | [Band = Band] | [Filter_Tau = Filter_Tau] | [Filter_Number = Filter_Number] | Setpoint_Function_Name = Setpoint_Function_Name | Control_Variable = Control_Variable | [Enable_Clamping = enable_clamping])

Summary

  This is similar to PID_Controlled, however, the flux is applied to cool and heat the volume instead of just heating it. Max_Cooling_Power and Max_Heating_Power should be positive values. See description for PID_CONTROLLED for more details

Description

  The following options are present in most boundary conditions/sources. The meaning of each option is as follows:

  Power_Output

    If specified, the total (integrated) power of the given BC/Src is calculated and stored into the global variable name specified as the power_output argument.

  Flux_Output

    If specified, the average flux of the given BC/Src is calculated and stored into the global variable name specified as the flux_output argument.

  Toggle

    If given, specifies which toggle block controls whether this BC is active or not.

Parameter | Value | Default
--- | --- | ---
{of} | {of | species | subindex} | –
SpeciesName | string | –
{in} | {in | material_phase} | –
MaterialPhaseName | string | –
{ls} | {levelset_phase | ls} | –
Mesh Extent Name | string | –
TouchingMeshExtent | string | –
OpposingMeshExtent | string | –
power_output | “string” | –
flux_output | “string” | –
toggle | “string” | –
Max_Cooling_Power | real | –
Max_Heating_Power | real | –
p | real | 0
i | real | 0
d | real | 0
t_i | real | 0
t_d | real | 0
Band | real | 0
Filter_Tau | real | 1
Filter_Number | real | 1
Setpoint_Function_Name | “string” | –
Control_Variable | “string” | –
enable_clamping | integer | –