Partie LVII. xcos

Table des matières

6. Batch functions
lincos — Constructs by linearization a linear state-space model from a general dynamical system described by a xcos diagram
scicos — OBSOLETE - see xcos
scicos_simulate — Function for running xcos simulation in batch mode
scicosim — xcos (batch) simulation function
steadycos — Finds an equilibrium state of a general dynamical system described by a xcos diagram
7. palettes
1. Annotations palette
Annotations_pal — Annotations palette
TEXT_f — Text
2. Commonly used blocks palette
Commonlyusedblocks_pal — Commonly used blocks palette
LOGICAL_OP — Logical operation
RELATIONALOP — Relational operation
3. Continuous time systems palette
Continuous_pal — Continuous time systems palette
CLINDUMMY_f — Dummy
CLR — Continuous transfer function
CLSS — Continuous state-space system
DERIV — Derivative
INTEGRAL_f — Integration
INTEGRAL_m — Integration
PID — PID regulator
TCLSS — Continuous linear system with jump
TIME_DELAY — Time delay
VARIABLE_DELAY — Variable delay
4. Demonstrations blocks palette
Demonstrationsblocks_pal — Demonstrations blocks palette
AUTOMAT — automata (finite state machine)
BOUNCE — Balls coordinates generator
BOUNCEXY — Balls viewer
BPLATFORM — Balls under a platform viewer
PDE — 1D PDE block
5. Discontinuities palette
discontinuities_pal — discontinuities palette
BACKLASH — Backlash
DEADBAND — Deadband
HYSTHERESIS — Hystheresis
RATELIMITER — Rate limiter
SATURATION — Saturation
6. Discrete time systems palette
Discrete_pal — Discrete time systems palette
DELAYV_f — Variable delay
DELAY_f — Discrete time delay
DLR — Discrete transfer function
DLRADAPT_f — Discrete Zero-Pole
DLSS — Discrete state-space system
DOLLAR_f — Delay operator
REGISTER — Shift Register
7. Electrical palette
Electrical_pal — Electrical palette
CCS — Controllable Modelica current source
CVS — Controllable Modelica voltage source
Capacitor — Electrical capacitor
ConstantVoltage — Electrical DC voltage source
CurrentSensor — Electrical current sensor
Diode — Electrical diode
Ground — Ground (zero potential reference)
Gyrator — Modelica Gyrator
IdealTransformer — Ideal Transformer
Inductor — Electrical inductor
NMOS — Simple NMOS Transistor
NPN — NPN transistor
OpAmp — Ideal opamp (norator-nullator pair)
PMOS — Simple PMOS Transistor
PNP — PNP transistor
PotentialSensor — Potential sensor
Resistor — Electrical resistor
SineVoltage — Sine voltage source
Switch — Non-ideal electrical switch
VVsourceAC — Variable AC voltage source
VariableResistor — Electrical variable resistor
VoltageSensor — Electrical voltage sensor
VsourceAC — Electrical AC voltage source
8. Event handling palette
Events_pal — Event handling palette
ANDBLK — Activation and
ANDLOG_f — Logical and
CEVENTSCOPE — Activation scope
CLKFROM — Receives data from a corresponding CLKGOTO
CLKGOTO — Pass block input to CLKFROM block
CLKGotoTagVisibility — Define Scope of CLKGOTO tag visibility
CLKOUTV_f — Output activation port
CLKSOMV_f — Activation union
EDGE_TRIGGER — EDGE_TRIGGER block
ESELECT_f — Synchronous block Event-Select
EVTDLY_c — Event delay
EVTGEN_f — Event generator
EVTVARDLY — Event variable delay
Extract_Activation — Extract_Activation block
HALT_f — Halt
IFTHEL_f — Synchronous block If-Then-Else
MCLOCK_f — MCLOCK_f title
MFCLCK_f — MFCLCK_f title
M_freq — Multiple Frequencies
freq_div — Frequency division
9. Implicit palette
Implicit_pal — Implicit palette
CONSTRAINT_f — Constraint
DIFF_f — Derivative
10. Integer palette
Integer_pal — Integer palette
BITCLEAR — Clear a Bit
BITSET — Set a Bit
CONVERT — Data Type Conversion
DFLIPFLOP — D flip-flop
DLATCH — D latch flip-flop
EXTRACTBITS — EXTRACTBITS
INTMUL — Integer matrix multiplication
JKFLIPFLOP — JK flip-flop
LOGIC — Combinational Logic
SHIFT — Shift Bits
SRFLIPFLOP — SR flip-flop
11. Lookup tables palette
Lookuptables_pal — Lookup tables palette
INTRP2BLK_f — 2D interpolation
INTRPLBLK_f — Interpolation
LOOKUP_f — Lookup table
12. Math operations palette
Mathoperations_pal — Math operations palette
ABS_VALUE — Absolute value
BIGSOM_f — Sum
COSBLK_f — COSBLK
EXPBLK_m — Exponential
GAINBLK_f — Gain
INVBLK — Inverse
LOGBLK_f — Log
MATMAGPHI — Complex to Magnitude and Angle Conversion
MATZREIM — Complex decomposition
MAXMIN — Max and Min
MAX_f — MAX
MIN_f — MIN
POWBLK_f — Power
PRODUCT — Product
PROD_f — Multiplication
SIGNUM — Signum
SINBLK_f — SINBLK
SQRT — Square root
SUMMATION — Matrix Summation
SUM_f — Addition
TANBLK_f — TANBLK
TrigFun — Trigonometric function
13. Matrix operation palette
Matrix_pal — Matrix operation palette
CUMSUM — Cumulative Sum
EXTRACT — Matrix Extractor
EXTTRI — Triangular or Diagonal extraction
MATBKSL — left matrix division
MATCATH — Horizontal Concatenation
MATCATV — Vertical Concatenation
MATDET — Matrix Determinant
MATDIAG — Create Diagonal Matrix
MATDIV — Matrix division
MATEIG — Matrix Eigenvalues
MATEXPM — Matrix Exponential
MATINV — Matrix Inverse
MATLU — LU Factorization
MATMUL — Matrix Multiplication
MATPINV — Matrix PseudoInverse
MATRESH — Matrix Reshape
MATSING — SVD decomposition
MATSUM — Matrix Sum
MATTRAN — Matrix Transpose
MATZCONJ — Matrix Conjugate
RICC — Riccati Equation
ROOTCOEF — Coefficient computation
SUBMAT — Sub-matrix extraction
14. Port & Subsystem palette
Portaction_pal — Port & Subsystem palette
IN_f — Input Port
OUTIMPL_f — Output implicit port
OUT_f — Output Port
15. Signal processing palette
Signalprocessing_pal — Signal processing palette
QUANT_f — Quantization
SAMPHOLD_m — Sample and hold
16. Signal routing palette
Signalrouting_pal — Signal routing palette
DEMUX — Demultiplexer
EXTRACTOR — Extractor
FROM — FROM Receives data from a corresponding GOTO
FROMMO — Receives data from a corresponding GOTOMO
GOTO — GOTO Pass block input to From block
GOTOMO — Pass block input to FROMMO block
GotoTagVisibility — Define Scope of GOTO tag visibility
GotoTagVisibilityMO — Define Scope of GOTOMO tag visibility
ISELECT_m — Iselect
MUX — Multiplexer
M_SWITCH — Multi-port switch
NRMSOM_f — Merge data
RELAY_f — Relay
SELECT_m — Select
SWITCH2_m — Switch2
SWITCH_f — Switch
17. Sinks palette
Sinks_pal — Sinks palette
AFFICH_m — Display
CANIMXY — y=f(x) animated viewer
CANIMXY3D — z=f(x,y) animated viewer
CFSCOPE — Floating point scope
CMAT3D — Matrix z values 3D viewer
CMATVIEW — Matrix Colormapped viewer
CMSCOPE — Multi display scope
CSCOPE — Single Display Scope
CSCOPXY — y=f(x) permanent viewer
CSCOPXY3D — z=f(x,y) permanent viewer
ENDBLK — END block
END_c — END_c block
TOWS_c — Data to Scilab worspace
TRASH_f — Trash block
WFILE_f — Write to file
WRITEAU_f — Write AU sound file
WRITEC_f — Write binary data
18. Sources palette
Sources_pal — Sources palette
CLKINV_f — Input activation port
CLOCK_c — Activation clock
CONST_m — Constant
CURV_f — Curve
Counter — Counter
FROMWSB — Data from Scilab workspace to Xcos
GENSIN_f — Sin generator
GENSQR_f — Square wave generator
INIMPL_f — Input implicit port
Modulo_Count — Modulo counter
RAMP — Ramp
RAND_m — Random generator
READAU_f — Read AU sound file
READC_f — Read binary data
RFILE_f — Read from file
SAWTOOTH_f — Sawtooth generator
STEP_FUNCTION — Step function generator
SampleCLK — Sample Time Clock
Sigbuilder — Signal creator/generator
TIME_f — Time
TKSCALE — Adjust constant value with a tk widget
19. Thermohydraulics palette
ThermoHydraulics_pal — Thermal-Hydraulics toolbox
Bache — Thermal-hydraulic tank (reservoir)
PerteDP — Thermal-hydraulic pipe
PuitsP — Thermal-hydraulic drain (well)
SourceP — Thermal-hydraulic constant pressure source
VanneReglante — Thermal-hydraulic control valve
20. User defined functions palette
Userdefinedfunctions_pal — User defined functions palette
CBLOCK — New C
EXPRESSION — Mathematical expression
MBLOCK — Modelica generic block
SUPER_f — Super block
c_block — C language
fortran_block — Fortran
generic_block3 — Generic block
scifunc_block_m — Scilab function block
21. Zero crossing detection palette
Zerocrossingdetection_pal — Zero crossing detection palette
GENERAL_f — GENERAL_f title
NEGTOPOS_f — Threshold negative to positive
POSTONEG_f — Threshold positive to negative
ZCROSS_f — Threshold detection at zero
8. Programming xcos Blocks
1. C Computational Functions
C_macros — Utilities C macros
C_struct — C Block structure of a computational function
C_utils — Utilities C functions
2. Scilab Computational Functions
sci_struct — Scicos block structure of a scilab computational function
3. Utilities Functions
curblock — Return the current called xcos block during the simulation
getblocklabel — Get the label of a scicos block
getscicosvars — Supervisor utility function
phase_simulation — Get the current simulation phase
pointer_xproperty — Get the type of a continuous time state variable
scicos_time — Returns the current time during simulation
set_blockerror — set the block error number
set_xproperty — Set the type of a continuous time state variable
9. Scilab Data Structures
1. Blocks
scicos_block — Define a block structure
scicos_graphics — Define a graphics structure
scicos_model — Define a model structure
2. Compilation/Simulation
scicos_cpr — Compiled Scicos structure
scicos_sim — Define a sim structure
scicos_state — Define a state structure
3. Diagram
scicos_diagram — Define a scs_m structure
scicos_params — Define a param structure
4. Links
scicos_link — Define a link structure
10. Scilab Utilities Functions
buildouttb — Build of the sublist %cpr.state.outtb
create_palette — Palette generator
get_scicos_version — Get the current Scicos version
scicos_debug — Set the level of the Scicos debugging
var2vec — Transform a scilab variable in a vector of double
vec2var — Transform a vector of double in a scilab variable
xcos — Block diagram editor and GUI for the hybrid simulator
Menu_entries — Editor menu entries