Since version 2026, Flux 3D and Flux PEEC are no longer available.
Please use SimLab to create a new 3D project or to import an existing Flux 3D project.
Please use SimLab to create a new PEEC project (not possible to import an existing Flux PEEC project).
/!\ Documentation updates are in progress – some mentions of 3D may still appear.
Valid function
Interest
The Valid function allows creating square wave signals.
Definition
The Valid(X,X1,X2) function returns:
- 1, if X is in [X1 , X2[
- 0, otherwise
Notes:
-
The arguments X1 or X2 can be omitted.
In this case, X1 is replaced by -∞ and X2 by +∞.
- The arguments X and X1 and X2 can be formulas.
Operation mode
In case of transient application it is also possible to define a rectangular pulse function described in the figure below.
Create an I/O parameter: PE = Valid(TIME, T1 , T2 )
where:
- TIME is the parameter time
- T1 is the instant of the pulse start
- T2 is the instant of the pulse end
Example
An example of the Valid function is presented below.
A Rump function truncated by a gate function: RP(t) = t*Valid(t,10,20)