easyiec.problems.PIDTuning#

class easyiec.problems.PIDTuning(K=1.0, tau=10.0, theta=3.0, dt=0.1, horizon=90.0, u_limit=4.0)[source]#

Bases: Problem

PID control of a first-order-plus-dead-time process \(G(s)=Ke^{-\theta s}/(\tau s+1)\).

ISA-form PID with setpoint weighting b, derivative on the filtered measurement (filter factor N), input saturation and anti-windup by conditional integration. Scenario: unit setpoint step at t=2 and an input load disturbance at t=50. The default utility of a simulated “control engineer” rewards small IAE, little overshoot and smooth control action, scaled by the SIMC tuning of Skogestad (2003) as a reference.

describe(x)[source]#

Text description of a candidate (for text-only judges).

features(x)[source]#

Phenotype features in psychological space (default: image features).

modality = 'image'#

modality presented to judges: “image” or “text”

objectives(x)[source]#

Key performance indicators (engineering problems); empty by default.

presets()[source]#

Named, hand-picked genomes ({name: genome}) for seeding and demos.

render_plot(x, ax)[source]#

Plot-type phenotypes (curves, layouts) draw here; used by _image().

utility(x, target=None)[source]#

Default hidden utility in [0, 1] (ground truth of benchmarks).

With a target genome it is a Gaussian similarity of standardized phenotype features; subclasses with explicit objectives override it.

Examples using easyiec.problems.PIDTuning#

Many objectives, one person: reference-point NSGA-II

Many objectives, one person: reference-point NSGA-II

PID tuning by looking at step responses

PID tuning by looking at step responses