From 0345245e860375a32c9a437c4a9d9cae807134e9 Mon Sep 17 00:00:00 2001 From: Shashank Date: Mon, 29 May 2017 12:40:26 +0530 Subject: CMSCOPE changed --- modules/xcos/help/en_US/addchapter.sce | 11 + modules/xcos/help/en_US/batch_functions/CHAPTER | 1 + modules/xcos/help/en_US/batch_functions/lincos.xml | 128 ++ .../help/en_US/batch_functions/scicos_simulate.xml | 188 ++ .../xcos/help/en_US/batch_functions/scicosim.xml | 125 ++ .../xcos/help/en_US/batch_functions/steadycos.xml | 174 ++ .../en_US/batch_functions/xcosValidateBlockSet.xml | 80 + .../batch_functions/xcosValidateCompareBlock.xml | 84 + .../help/en_US/batch_functions/xcos_simulate.xml | 280 +++ .../Annotations_pal/AA_Annotations_pal.xml | 64 + .../help/en_US/palettes/Annotations_pal/CHAPTER | 1 + .../help/en_US/palettes/Annotations_pal/TEXT_f.xml | 242 +++ .../AA_Commonlyusedblocks_pal.xml | 249 +++ .../en_US/palettes/Commonlyusedblocks_pal/CHAPTER | 1 + .../palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml | 240 +++ .../Commonlyusedblocks_pal/RELATIONALOP.xml | 238 +++ .../palettes/Continuous_pal/AA_Continuous_pal.xml | 162 ++ .../help/en_US/palettes/Continuous_pal/CHAPTER | 1 + .../en_US/palettes/Continuous_pal/CLINDUMMY_f.xml | 157 ++ .../help/en_US/palettes/Continuous_pal/CLR.xml | 220 +++ .../help/en_US/palettes/Continuous_pal/CLSS.xml | 383 ++++ .../help/en_US/palettes/Continuous_pal/DERIV.xml | 231 +++ .../en_US/palettes/Continuous_pal/INTEGRAL_f.xml | 221 +++ .../en_US/palettes/Continuous_pal/INTEGRAL_m.xml | 346 ++++ .../help/en_US/palettes/Continuous_pal/PID.xml | 369 ++++ .../help/en_US/palettes/Continuous_pal/TCLSS.xml | 265 +++ .../en_US/palettes/Continuous_pal/TIME_DELAY.xml | 248 +++ .../palettes/Continuous_pal/VARIABLE_DELAY.xml | 305 ++++ .../AA_Demonstrationsblocks_pal.xml | 97 + .../palettes/Demonstrationsblocks_pal/AUTOMAT.xml | 350 ++++ .../palettes/Demonstrationsblocks_pal/BOUNCE.xml | 267 +++ .../palettes/Demonstrationsblocks_pal/BOUNCEXY.xml | 274 +++ .../Demonstrationsblocks_pal/BPLATFORM.xml | 178 ++ .../palettes/Demonstrationsblocks_pal/CHAPTER | 1 + .../palettes/Demonstrationsblocks_pal/PDE.xml | 291 +++ .../Discontinuities_pal/AA_Discontinuous_pal.xml | 125 ++ .../palettes/Discontinuities_pal/BACKLASH.xml | 249 +++ .../en_US/palettes/Discontinuities_pal/CHAPTER | 1 + .../palettes/Discontinuities_pal/DEADBAND.xml | 305 ++++ .../palettes/Discontinuities_pal/HYSTHERESIS.xml | 258 +++ .../palettes/Discontinuities_pal/RATELIMITER.xml | 231 +++ .../palettes/Discontinuities_pal/SATURATION.xml | 241 +++ .../palettes/Discrete_pal/AA_Discrete_pal.xml | 152 ++ .../xcos/help/en_US/palettes/Discrete_pal/CHAPTER | 1 + .../help/en_US/palettes/Discrete_pal/DELAYV_f.xml | 283 +++ .../help/en_US/palettes/Discrete_pal/DELAY_f.xml | 251 +++ .../xcos/help/en_US/palettes/Discrete_pal/DLR.xml | 225 +++ .../en_US/palettes/Discrete_pal/DLRADAPT_f.xml | 263 +++ .../xcos/help/en_US/palettes/Discrete_pal/DLSS.xml | 248 +++ .../help/en_US/palettes/Discrete_pal/DOLLAR_f.xml | 255 +++ .../help/en_US/palettes/Discrete_pal/REGISTER.xml | 254 +++ .../palettes/Electrical_pal/AA_Electrical_pal.xml | 309 ++++ .../help/en_US/palettes/Electrical_pal/CCS.xml | 186 ++ .../help/en_US/palettes/Electrical_pal/CHAPTER | 1 + .../help/en_US/palettes/Electrical_pal/CVS.xml | 186 ++ .../en_US/palettes/Electrical_pal/Capacitor.xml | 232 +++ .../palettes/Electrical_pal/ConstantVoltage.xml | 206 +++ .../palettes/Electrical_pal/CurrentSensor.xml | 169 ++ .../help/en_US/palettes/Electrical_pal/Diode.xml | 266 +++ .../help/en_US/palettes/Electrical_pal/Ground.xml | 141 ++ .../help/en_US/palettes/Electrical_pal/Gyrator.xml | 236 +++ .../palettes/Electrical_pal/IdealTransformer.xml | 233 +++ .../en_US/palettes/Electrical_pal/Inductor.xml | 213 +++ .../help/en_US/palettes/Electrical_pal/NMOS.xml | 623 +++++++ .../help/en_US/palettes/Electrical_pal/NPN.xml | 525 ++++++ .../help/en_US/palettes/Electrical_pal/OpAmp.xml | 166 ++ .../help/en_US/palettes/Electrical_pal/PMOS.xml | 492 +++++ .../help/en_US/palettes/Electrical_pal/PNP.xml | 525 ++++++ .../palettes/Electrical_pal/PotentialSensor.xml | 158 ++ .../en_US/palettes/Electrical_pal/Resistor.xml | 199 ++ .../en_US/palettes/Electrical_pal/SineVoltage.xml | 283 +++ .../help/en_US/palettes/Electrical_pal/Switch.xml | 238 +++ .../en_US/palettes/Electrical_pal/VVsourceAC.xml | 216 +++ .../palettes/Electrical_pal/VariableResistor.xml | 160 ++ .../palettes/Electrical_pal/VoltageSensor.xml | 170 ++ .../en_US/palettes/Electrical_pal/VsourceAC.xml | 224 +++ .../en_US/palettes/Events_pal/AA_Events_pal.xml | 306 ++++ .../xcos/help/en_US/palettes/Events_pal/ANDBLK.xml | 173 ++ .../help/en_US/palettes/Events_pal/ANDLOG_f.xml | 187 ++ .../help/en_US/palettes/Events_pal/CEVENTSCOPE.xml | 243 +++ .../xcos/help/en_US/palettes/Events_pal/CHAPTER | 1 + .../help/en_US/palettes/Events_pal/CLKFROM.xml | 197 ++ .../help/en_US/palettes/Events_pal/CLKGOTO.xml | 204 +++ .../palettes/Events_pal/CLKGotoTagVisibility.xml | 197 ++ .../help/en_US/palettes/Events_pal/CLKSOMV_f.xml | 180 ++ .../en_US/palettes/Events_pal/EDGE_TRIGGER.xml | 204 +++ .../help/en_US/palettes/Events_pal/ESELECT_f.xml | 217 +++ .../help/en_US/palettes/Events_pal/EVTDLY_c.xml | 236 +++ .../help/en_US/palettes/Events_pal/EVTGEN_f.xml | 205 +++ .../help/en_US/palettes/Events_pal/EVTVARDLY.xml | 215 +++ .../palettes/Events_pal/Extract_Activation.xml | 160 ++ .../xcos/help/en_US/palettes/Events_pal/HALT_f.xml | 196 ++ .../help/en_US/palettes/Events_pal/IFTHEL_f.xml | 209 +++ .../help/en_US/palettes/Events_pal/MCLOCK_f.xml | 199 ++ .../help/en_US/palettes/Events_pal/MFCLCK_f.xml | 212 +++ .../xcos/help/en_US/palettes/Events_pal/M_freq.xml | 263 +++ .../help/en_US/palettes/Events_pal/VirtualCLK0.xml | 157 ++ .../help/en_US/palettes/Events_pal/freq_div.xml | 209 +++ .../palettes/Implicit_pal/AA_Implicit_pal.xml | 73 + .../xcos/help/en_US/palettes/Implicit_pal/CHAPTER | 1 + .../en_US/palettes/Implicit_pal/CONSTRAINT_c.xml | 210 +++ .../help/en_US/palettes/Implicit_pal/DIFF_f.xml | 233 +++ .../en_US/palettes/Integer_pal/AA_Integer_pal.xml | 168 ++ .../help/en_US/palettes/Integer_pal/BITCLEAR.xml | 316 ++++ .../help/en_US/palettes/Integer_pal/BITSET.xml | 316 ++++ .../xcos/help/en_US/palettes/Integer_pal/CHAPTER | 1 + .../help/en_US/palettes/Integer_pal/CONVERT.xml | 352 ++++ .../help/en_US/palettes/Integer_pal/DFLIPFLOP.xml | 375 ++++ .../help/en_US/palettes/Integer_pal/DLATCH.xml | 356 ++++ .../en_US/palettes/Integer_pal/EXTRACTBITS.xml | 659 +++++++ .../help/en_US/palettes/Integer_pal/INTMUL.xml | 382 ++++ .../help/en_US/palettes/Integer_pal/JKFLIPFLOP.xml | 215 +++ .../palettes/Integer_pal/JKFLIPFLOP_content.dbk | 246 +++ .../xcos/help/en_US/palettes/Integer_pal/LOGIC.xml | 484 +++++ .../xcos/help/en_US/palettes/Integer_pal/SHIFT.xml | 566 ++++++ .../help/en_US/palettes/Integer_pal/SRFLIPFLOP.xml | 419 +++++ .../Lookuptables_pal/AA_Lookuptables_pal.xml | 85 + .../help/en_US/palettes/Lookuptables_pal/CHAPTER | 1 + .../palettes/Lookuptables_pal/INTRP2BLK_f.xml | 228 +++ .../palettes/Lookuptables_pal/INTRPLBLK_f.xml | 253 +++ .../en_US/palettes/Lookuptables_pal/LOOKUP_f.xml | 184 ++ .../Mathoperations_pal/AA_Mathoperations_pal.xml | 275 +++ .../palettes/Mathoperations_pal/ABS_VALUE.xml | 229 +++ .../en_US/palettes/Mathoperations_pal/BIGSOM_f.xml | 293 +++ .../help/en_US/palettes/Mathoperations_pal/CHAPTER | 1 + .../en_US/palettes/Mathoperations_pal/COSBLK_f.xml | 197 ++ .../en_US/palettes/Mathoperations_pal/EXPBLK_m.xml | 247 +++ .../palettes/Mathoperations_pal/GAINBLK_f.xml | 221 +++ .../en_US/palettes/Mathoperations_pal/INVBLK.xml | 208 +++ .../en_US/palettes/Mathoperations_pal/LOGBLK_f.xml | 235 +++ .../palettes/Mathoperations_pal/MATMAGPHI.xml | 277 +++ .../en_US/palettes/Mathoperations_pal/MATZREIM.xml | 273 +++ .../en_US/palettes/Mathoperations_pal/MAXMIN.xml | 284 +++ .../en_US/palettes/Mathoperations_pal/MAX_f.xml | 202 +++ .../en_US/palettes/Mathoperations_pal/MIN_f.xml | 219 +++ .../en_US/palettes/Mathoperations_pal/POWBLK_f.xml | 242 +++ .../en_US/palettes/Mathoperations_pal/PRODUCT.xml | 251 +++ .../en_US/palettes/Mathoperations_pal/PROD_f.xml | 210 +++ .../en_US/palettes/Mathoperations_pal/SIGNUM.xml | 221 +++ .../en_US/palettes/Mathoperations_pal/SINBLK_f.xml | 212 +++ .../en_US/palettes/Mathoperations_pal/SQRT.xml | 248 +++ .../palettes/Mathoperations_pal/SUMMATION.xml | 372 ++++ .../en_US/palettes/Mathoperations_pal/SUM_f.xml | 208 +++ .../en_US/palettes/Mathoperations_pal/TANBLK_f.xml | 212 +++ .../en_US/palettes/Mathoperations_pal/TrigFun.xml | 330 ++++ .../en_US/palettes/Matrix_pal/AA_Matrix_pal.xml | 315 ++++ .../xcos/help/en_US/palettes/Matrix_pal/CHAPTER | 1 + .../xcos/help/en_US/palettes/Matrix_pal/CUMSUM.xml | 295 +++ .../help/en_US/palettes/Matrix_pal/EXTRACT.xml | 283 +++ .../xcos/help/en_US/palettes/Matrix_pal/EXTTRI.xml | 309 ++++ .../help/en_US/palettes/Matrix_pal/MATBKSL.xml | 257 +++ .../help/en_US/palettes/Matrix_pal/MATCATH.xml | 252 +++ .../help/en_US/palettes/Matrix_pal/MATCATV.xml | 254 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATDET.xml | 258 +++ .../help/en_US/palettes/Matrix_pal/MATDIAG.xml | 250 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATDIV.xml | 259 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATEIG.xml | 285 +++ .../help/en_US/palettes/Matrix_pal/MATEXPM.xml | 258 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATINV.xml | 243 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATLU.xml | 244 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATMUL.xml | 329 ++++ .../help/en_US/palettes/Matrix_pal/MATPINV.xml | 255 +++ .../help/en_US/palettes/Matrix_pal/MATRESH.xml | 277 +++ .../help/en_US/palettes/Matrix_pal/MATSING.xml | 278 +++ .../xcos/help/en_US/palettes/Matrix_pal/MATSUM.xml | 286 +++ .../help/en_US/palettes/Matrix_pal/MATTRAN.xml | 286 +++ .../help/en_US/palettes/Matrix_pal/MATZCONJ.xml | 220 +++ .../xcos/help/en_US/palettes/Matrix_pal/RICC.xml | 289 +++ .../help/en_US/palettes/Matrix_pal/ROOTCOEF.xml | 221 +++ .../xcos/help/en_US/palettes/Matrix_pal/SUBMAT.xml | 266 +++ .../palettes/Portaction_pal/AA_Portaction_pal.xml | 124 ++ .../help/en_US/palettes/Portaction_pal/CHAPTER | 1 + .../en_US/palettes/Portaction_pal/CLKINV_f.xml | 242 +++ .../en_US/palettes/Portaction_pal/CLKOUTV_f.xml | 243 +++ .../en_US/palettes/Portaction_pal/INIMPL_f.xml | 249 +++ .../help/en_US/palettes/Portaction_pal/IN_f.xml | 287 +++ .../en_US/palettes/Portaction_pal/OUTIMPL_f.xml | 247 +++ .../help/en_US/palettes/Portaction_pal/OUT_f.xml | 260 +++ .../AA_Signalprocessing_pal.xml | 85 + .../en_US/palettes/Signalprocessing_pal/CHAPTER | 1 + .../palettes/Signalprocessing_pal/QUANT_f.xml | 289 +++ .../palettes/Signalprocessing_pal/SAMPHOLD_m.xml | 229 +++ .../Signalrouting_pal/AA_Signalrouting_pal.xml | 251 +++ .../help/en_US/palettes/Signalrouting_pal/CHAPTER | 1 + .../en_US/palettes/Signalrouting_pal/DEMUX.xml | 220 +++ .../en_US/palettes/Signalrouting_pal/EXTRACTOR.xml | 210 +++ .../help/en_US/palettes/Signalrouting_pal/FROM.xml | 219 +++ .../en_US/palettes/Signalrouting_pal/FROMMO.xml | 205 +++ .../help/en_US/palettes/Signalrouting_pal/GOTO.xml | 232 +++ .../en_US/palettes/Signalrouting_pal/GOTOMO.xml | 212 +++ .../Signalrouting_pal/GotoTagVisibility.xml | 202 +++ .../Signalrouting_pal/GotoTagVisibilityMO.xml | 197 ++ .../en_US/palettes/Signalrouting_pal/ISELECT_m.xml | 228 +++ .../help/en_US/palettes/Signalrouting_pal/MUX.xml | 217 +++ .../en_US/palettes/Signalrouting_pal/M_SWITCH.xml | 233 +++ .../en_US/palettes/Signalrouting_pal/NRMSOM_f.xml | 203 +++ .../en_US/palettes/Signalrouting_pal/RELAY_f.xml | 241 +++ .../en_US/palettes/Signalrouting_pal/SELECT_m.xml | 246 +++ .../palettes/Signalrouting_pal/SELF_SWITCH.xml | 175 ++ .../en_US/palettes/Signalrouting_pal/SWITCH2_m.xml | 308 ++++ .../en_US/palettes/Signalrouting_pal/SWITCH_f.xml | 222 +++ .../help/en_US/palettes/Sinks_pal/AA_Sinks_pal.xml | 283 +++ .../help/en_US/palettes/Sinks_pal/AFFICH_m.xml | 260 +++ .../xcos/help/en_US/palettes/Sinks_pal/BARXY.xml | 232 +++ .../xcos/help/en_US/palettes/Sinks_pal/CANIMXY.xml | 303 ++++ .../help/en_US/palettes/Sinks_pal/CANIMXY3D.xml | 306 ++++ .../xcos/help/en_US/palettes/Sinks_pal/CFSCOPE.xml | 267 +++ modules/xcos/help/en_US/palettes/Sinks_pal/CHAPTER | 1 + .../xcos/help/en_US/palettes/Sinks_pal/CMAT3D.xml | 260 +++ .../help/en_US/palettes/Sinks_pal/CMATVIEW.xml | 251 +++ .../xcos/help/en_US/palettes/Sinks_pal/CMSCOPE.xml | 297 +++ .../xcos/help/en_US/palettes/Sinks_pal/CSCOPE.xml | 306 ++++ .../xcos/help/en_US/palettes/Sinks_pal/CSCOPXY.xml | 304 ++++ .../help/en_US/palettes/Sinks_pal/CSCOPXY3D.xml | 308 ++++ .../xcos/help/en_US/palettes/Sinks_pal/ENDBLK.xml | 226 +++ .../xcos/help/en_US/palettes/Sinks_pal/END_c.xml | 240 +++ .../xcos/help/en_US/palettes/Sinks_pal/TOWS_c.xml | 260 +++ .../xcos/help/en_US/palettes/Sinks_pal/TRASH_f.xml | 186 ++ .../xcos/help/en_US/palettes/Sinks_pal/WFILE_f.xml | 375 ++++ .../help/en_US/palettes/Sinks_pal/WRITEAU_f.xml | 228 +++ .../help/en_US/palettes/Sinks_pal/WRITEC_f.xml | 354 ++++ .../en_US/palettes/Sources_pal/AA_Sources_pal.xml | 278 +++ .../xcos/help/en_US/palettes/Sources_pal/CHAPTER | 1 + .../help/en_US/palettes/Sources_pal/CLOCK_c.xml | 233 +++ .../help/en_US/palettes/Sources_pal/CONST_m.xml | 205 +++ .../help/en_US/palettes/Sources_pal/CURV_f.xml | 193 ++ .../help/en_US/palettes/Sources_pal/Counter.xml | 283 +++ .../help/en_US/palettes/Sources_pal/FROMWSB.xml | 348 ++++ .../help/en_US/palettes/Sources_pal/GENSIN_f.xml | 312 ++++ .../help/en_US/palettes/Sources_pal/GENSQR_f.xml | 249 +++ .../en_US/palettes/Sources_pal/Modulo_Count.xml | 267 +++ .../help/en_US/palettes/Sources_pal/PULSE_SC.xml | 251 +++ .../xcos/help/en_US/palettes/Sources_pal/RAMP.xml | 298 +++ .../help/en_US/palettes/Sources_pal/RAND_m.xml | 243 +++ .../help/en_US/palettes/Sources_pal/READAU_f.xml | 232 +++ .../help/en_US/palettes/Sources_pal/READC_f.xml | 258 +++ .../help/en_US/palettes/Sources_pal/RFILE_f.xml | 381 ++++ .../help/en_US/palettes/Sources_pal/SAWTOOTH_f.xml | 251 +++ .../en_US/palettes/Sources_pal/STEP_FUNCTION.xml | 417 +++++ .../help/en_US/palettes/Sources_pal/SampleCLK.xml | 240 +++ .../help/en_US/palettes/Sources_pal/Sigbuilder.xml | 197 ++ .../help/en_US/palettes/Sources_pal/TIME_f.xml | 178 ++ .../help/en_US/palettes/Sources_pal/TKSCALE.xml | 223 +++ .../AA_ThermoHydraulics_pal.xml | 125 ++ .../en_US/palettes/Thermohydraulics_pal/Bache.xml | 416 +++++ .../en_US/palettes/Thermohydraulics_pal/CHAPTER | 1 + .../palettes/Thermohydraulics_pal/Flowmeter.xml | 136 ++ .../palettes/Thermohydraulics_pal/PerteDP.xml | 322 ++++ .../en_US/palettes/Thermohydraulics_pal/PuitsP.xml | 258 +++ .../palettes/Thermohydraulics_pal/SourceP.xml | 260 +++ .../Thermohydraulics_pal/VanneReglante.xml | 246 +++ .../AA_Userdefinedfunctions_pal.xml | 160 ++ .../palettes/Userdefinedfunctions_pal/CBLOCK.xml | 289 +++ .../palettes/Userdefinedfunctions_pal/CHAPTER | 1 + .../palettes/Userdefinedfunctions_pal/DSUPER.xml | 151 ++ .../Userdefinedfunctions_pal/EXPRESSION.xml | 240 +++ .../palettes/Userdefinedfunctions_pal/MBLOCK.xml | 291 +++ .../palettes/Userdefinedfunctions_pal/SUPER_f.xml | 211 +++ .../palettes/Userdefinedfunctions_pal/c_block.xml | 218 +++ .../Userdefinedfunctions_pal/fortran_block.xml | 218 +++ .../Userdefinedfunctions_pal/generic_block3.xml | 343 ++++ .../Userdefinedfunctions_pal/scifunc_block_m.xml | 296 +++ .../AA_Zerocrossingdetection_pal.xml | 107 ++ .../palettes/Zerocrossingdetection_pal/CHAPTER | 1 + .../Zerocrossingdetection_pal/GENERAL_f.xml | 210 +++ .../Zerocrossingdetection_pal/NEGTOPOS_f.xml | 191 ++ .../Zerocrossingdetection_pal/POSTONEG_f.xml | 176 ++ .../Zerocrossingdetection_pal/ZCROSS_f.xml | 203 +++ .../help/en_US/programming_scicos_blocks/CHAPTER | 1 + .../c_computational_functions/CHAPTER | 1 + .../c_computational_functions/C_macros.xml | 551 ++++++ .../c_computational_functions/C_struct.xml | 1599 ++++++++++++++++ .../c_computational_functions/C_utils.xml | 174 ++ .../scilab_computational_functions/CHAPTER | 1 + .../scilab_computational_functions/sci_struct.xml | 495 +++++ .../utilities_functions/CHAPTER | 1 + .../utilities_functions/curblock.xml | 52 + .../utilities_functions/getblocklabel.xml | 57 + .../utilities_functions/getscicosvars.xml | 228 +++ .../utilities_functions/phase_simulation.xml | 78 + .../utilities_functions/pointer_xproperty.xml | 86 + .../utilities_functions/scicos_time.xml | 55 + .../utilities_functions/set_blockerror.xml | 99 + .../utilities_functions/set_xproperty.xml | 86 + .../xcos/help/en_US/scilab_data_structures/CHAPTER | 1 + .../en_US/scilab_data_structures/blocks/CHAPTER | 1 + .../scilab_data_structures/blocks/scicos_block.xml | 120 ++ .../blocks/scicos_graphics.xml | 308 ++++ .../scilab_data_structures/blocks/scicos_model.xml | 706 ++++++++ .../compilation_simulation/CHAPTER | 1 + .../compilation_simulation/scicos_cpr.xml | 123 ++ .../compilation_simulation/scicos_sim.xml | 455 +++++ .../compilation_simulation/scicos_state.xml | 171 ++ .../en_US/scilab_data_structures/diagram/CHAPTER | 1 + .../diagram/scicos_diagram.xml | 113 ++ .../diagram/scicos_params.xml | 391 ++++ .../en_US/scilab_data_structures/links/CHAPTER | 1 + .../scilab_data_structures/links/scicos_link.xml | 147 ++ .../help/en_US/scilab_utilities_functions/CHAPTER | 1 + .../MODELICA_USER_LIBS.xml | 70 + .../block_parameter_error.xml | 127 ++ .../scilab_utilities_functions/buildouttb.xml | 84 + .../scilab_utilities_functions/getModelicaPath.xml | 93 + .../importXcosDiagram.xml | 60 + .../scilab_utilities_functions/loadScicos.xml | 71 + .../scilab_utilities_functions/loadXcosLibs.xml | 75 + .../scilab_utilities_functions/scicos_debug.xml | 97 + .../scilab_utilities_functions/scicos_getvalue.xml | 153 ++ .../scilab_utilities_functions/standard_inputs.xml | 81 + .../scilab_utilities_functions/standard_origin.xml | 67 + .../standard_outputs.xml | 81 + .../en_US/scilab_utilities_functions/var2vec.xml | 104 ++ .../en_US/scilab_utilities_functions/vec2var.xml | 110 ++ .../xcosAddToolsMenu.xml | 94 + .../en_US/scilab_utilities_functions/xcosPal.xml | 86 + .../scilab_utilities_functions/xcosPalAdd.xml | 87 + .../scilab_utilities_functions/xcosPalAddBlock.xml | 1338 ++++++++++++++ .../scilab_utilities_functions/xcosPalDelete.xml | 64 + .../scilab_utilities_functions/xcosPalExport.xml | 84 + .../xcosPalGenerateAllIcons.xml | 68 + .../scilab_utilities_functions/xcosPalMove.xml | 73 + .../scilab_utilities_functions/xcosUpdateBlock.xml | 84 + modules/xcos/help/en_US/solvers/0-LSodar.xml | 217 +++ modules/xcos/help/en_US/solvers/1-CVode.xml | 299 +++ modules/xcos/help/en_US/solvers/2-Runge-Kutta.xml | 271 +++ .../xcos/help/en_US/solvers/3-Dormand-Prince.xml | 258 +++ modules/xcos/help/en_US/solvers/4-ImplicitRK.xml | 314 ++++ modules/xcos/help/en_US/solvers/6-IDA.xml | 207 +++ modules/xcos/help/en_US/solvers/7-DDaskr.xml | 244 +++ modules/xcos/help/en_US/solvers/8-Rootfinding.xml | 186 ++ modules/xcos/help/en_US/solvers/9-Comparisons.xml | 826 +++++++++ modules/xcos/help/en_US/solvers/CHAPTER | 1 + modules/xcos/help/en_US/xcos.xml | 207 +++ modules/xcos/help/en_US/xcos_debug_gui.xml | 118 ++ modules/xcos/help/en_US/xcos_menu_entries.xml | 974 ++++++++++ .../annotations_pal/en_US/text_f_diagram_en_US.png | Bin 0 -> 2991 bytes modules/xcos/help/examples/clss_d1.png | Bin 0 -> 10934 bytes .../en_US/deadband_desc_en_US.png | Bin 0 -> 1630 bytes modules/xcos/help/examples/pid_error.gif | Bin 0 -> 983 bytes modules/xcos/help/examples/pid_filter.gif | Bin 0 -> 1510 bytes .../xcos/help/examples/pid_filter_parameters.png | Bin 0 -> 54705 bytes modules/xcos/help/examples/pid_law.gif | Bin 0 -> 3547 bytes modules/xcos/help/examples/pid_structure.png | Bin 0 -> 1755 bytes .../en_US/block_parameter_error_en_US.png | Bin 0 -> 12081 bytes .../fr_FR/block_parameter_error_fr_FR.png | Bin 0 -> 12190 bytes modules/xcos/help/examples/variable_delay1.png | Bin 0 -> 11526 bytes .../examples/variable_delay_with_equations.png | Bin 0 -> 7028 bytes modules/xcos/help/fr_FR/addchapter.sce | 11 + modules/xcos/help/fr_FR/batch_functions/CHAPTER | 1 + .../Annotations_pal/AA_Annotations_pal.xml | 52 + .../help/fr_FR/palettes/Annotations_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Annotations_pal/TEXT_f.xml | 234 +++ .../AA_Commonlyusedblocks_pal.xml | 234 +++ .../fr_FR/palettes/Commonlyusedblocks_pal/CHAPTER | 1 + .../palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml | 228 +++ .../Commonlyusedblocks_pal/RELATIONALOP.xml | 224 +++ .../palettes/Continuous_pal/AA_Continuous_pal.xml | 147 ++ .../help/fr_FR/palettes/Continuous_pal/CHAPTER | 1 + .../fr_FR/palettes/Continuous_pal/CLINDUMMY_f.xml | 144 ++ .../help/fr_FR/palettes/Continuous_pal/CLR.xml | 209 +++ .../help/fr_FR/palettes/Continuous_pal/CLSS.xml | 349 ++++ .../help/fr_FR/palettes/Continuous_pal/DERIV.xml | 212 +++ .../fr_FR/palettes/Continuous_pal/INTEGRAL_f.xml | 194 ++ .../fr_FR/palettes/Continuous_pal/INTEGRAL_m.xml | 304 ++++ .../help/fr_FR/palettes/Continuous_pal/PID.xml | 260 +++ .../help/fr_FR/palettes/Continuous_pal/TCLSS.xml | 262 +++ .../fr_FR/palettes/Continuous_pal/TIME_DELAY.xml | 235 +++ .../palettes/Continuous_pal/VARIABLE_DELAY.xml | 266 +++ .../palettes/Demonstrationsblocks_pal/CHAPTER | 1 + .../Discontinuities_pal/AA_Discontinuous_pal.xml | 115 ++ .../palettes/Discontinuities_pal/BACKLASH.xml | 239 +++ .../fr_FR/palettes/Discontinuities_pal/CHAPTER | 1 + .../palettes/Discontinuities_pal/DEADBAND.xml | 289 +++ .../palettes/Discontinuities_pal/HYSTHERESIS.xml | 249 +++ .../palettes/Discontinuities_pal/RATELIMITER.xml | 218 +++ .../palettes/Discontinuities_pal/SATURATION.xml | 233 +++ .../palettes/Discrete_pal/AA_Discrete_pal.xml | 134 ++ .../xcos/help/fr_FR/palettes/Discrete_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Discrete_pal/DELAYV_f.xml | 258 +++ .../help/fr_FR/palettes/Discrete_pal/DELAY_f.xml | 251 +++ .../xcos/help/fr_FR/palettes/Discrete_pal/DLR.xml | 212 +++ .../fr_FR/palettes/Discrete_pal/DLRADAPT_f.xml | 244 +++ .../xcos/help/fr_FR/palettes/Discrete_pal/DLSS.xml | 239 +++ .../help/fr_FR/palettes/Discrete_pal/DOLLAR_f.xml | 236 +++ .../help/fr_FR/palettes/Discrete_pal/REGISTER.xml | 241 +++ .../palettes/Electrical_pal/AA_Electrical_pal.xml | 272 +++ .../help/fr_FR/palettes/Electrical_pal/CCS.xml | 164 ++ .../help/fr_FR/palettes/Electrical_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Electrical_pal/CVS.xml | 167 ++ .../fr_FR/palettes/Electrical_pal/Capacitor.xml | 209 +++ .../palettes/Electrical_pal/ConstantVoltage.xml | 187 ++ .../palettes/Electrical_pal/CurrentSensor.xml | 150 ++ .../help/fr_FR/palettes/Electrical_pal/Diode.xml | 254 +++ .../help/fr_FR/palettes/Electrical_pal/Ground.xml | 126 ++ .../help/fr_FR/palettes/Electrical_pal/Gyrator.xml | 213 +++ .../palettes/Electrical_pal/IdealTransformer.xml | 209 +++ .../fr_FR/palettes/Electrical_pal/Inductor.xml | 194 ++ .../help/fr_FR/palettes/Electrical_pal/NMOS.xml | 576 ++++++ .../help/fr_FR/palettes/Electrical_pal/NPN.xml | 474 +++++ .../help/fr_FR/palettes/Electrical_pal/OpAmp.xml | 149 ++ .../help/fr_FR/palettes/Electrical_pal/PMOS.xml | 449 +++++ .../help/fr_FR/palettes/Electrical_pal/PNP.xml | 474 +++++ .../palettes/Electrical_pal/PotentialSensor.xml | 141 ++ .../fr_FR/palettes/Electrical_pal/Resistor.xml | 201 +++ .../fr_FR/palettes/Electrical_pal/SineVoltage.xml | 258 +++ .../help/fr_FR/palettes/Electrical_pal/Switch.xml | 214 +++ .../fr_FR/palettes/Electrical_pal/VVsourceAC.xml | 195 ++ .../palettes/Electrical_pal/VariableResistor.xml | 150 ++ .../palettes/Electrical_pal/VoltageSensor.xml | 153 ++ .../fr_FR/palettes/Electrical_pal/VsourceAC.xml | 203 +++ .../xcos/help/fr_FR/palettes/Events_pal/CHAPTER | 1 + .../xcos/help/fr_FR/palettes/Implicit_pal/CHAPTER | 1 + .../fr_FR/palettes/Integer_pal/AA_Integer_pal.xml | 156 ++ .../help/fr_FR/palettes/Integer_pal/BITCLEAR.xml | 306 ++++ .../help/fr_FR/palettes/Integer_pal/BITSET.xml | 306 ++++ .../xcos/help/fr_FR/palettes/Integer_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Integer_pal/CONVERT.xml | 338 ++++ .../help/fr_FR/palettes/Integer_pal/DFLIPFLOP.xml | 360 ++++ .../help/fr_FR/palettes/Integer_pal/DLATCH.xml | 345 ++++ .../fr_FR/palettes/Integer_pal/EXTRACTBITS.xml | 629 +++++++ .../help/fr_FR/palettes/Integer_pal/INTMUL.xml | 371 ++++ .../help/fr_FR/palettes/Integer_pal/JKFLIPFLOP.xml | 424 +++++ .../xcos/help/fr_FR/palettes/Integer_pal/LOGIC.xml | 471 +++++ .../xcos/help/fr_FR/palettes/Integer_pal/SHIFT.xml | 454 +++++ .../help/fr_FR/palettes/Integer_pal/SRFLIPFLOP.xml | 407 +++++ .../help/fr_FR/palettes/Lookuptables_pal/CHAPTER | 1 + .../Mathoperations_pal/AA_Mathoperations_pal.xml | 262 +++ .../palettes/Mathoperations_pal/ABS_VALUE.xml | 219 +++ .../fr_FR/palettes/Mathoperations_pal/BIGSOM_f.xml | 274 +++ .../help/fr_FR/palettes/Mathoperations_pal/CHAPTER | 1 + .../fr_FR/palettes/Mathoperations_pal/COSBLK_f.xml | 188 ++ .../fr_FR/palettes/Mathoperations_pal/EXPBLK_m.xml | 218 +++ .../palettes/Mathoperations_pal/GAINBLK_f.xml | 185 ++ .../fr_FR/palettes/Mathoperations_pal/INVBLK.xml | 197 ++ .../fr_FR/palettes/Mathoperations_pal/LOGBLK_f.xml | 224 +++ .../palettes/Mathoperations_pal/MATMAGPHI.xml | 260 +++ .../fr_FR/palettes/Mathoperations_pal/MATZREIM.xml | 262 +++ .../fr_FR/palettes/Mathoperations_pal/MAXMIN.xml | 273 +++ .../fr_FR/palettes/Mathoperations_pal/MAX_f.xml | 189 ++ .../fr_FR/palettes/Mathoperations_pal/MIN_f.xml | 206 +++ .../fr_FR/palettes/Mathoperations_pal/POWBLK_f.xml | 224 +++ .../fr_FR/palettes/Mathoperations_pal/PRODUCT.xml | 235 +++ .../fr_FR/palettes/Mathoperations_pal/PROD_f.xml | 199 ++ .../fr_FR/palettes/Mathoperations_pal/SIGNUM.xml | 209 +++ .../fr_FR/palettes/Mathoperations_pal/SINBLK_f.xml | 201 +++ .../fr_FR/palettes/Mathoperations_pal/SQRT.xml | 229 +++ .../palettes/Mathoperations_pal/SUMMATION.xml | 359 ++++ .../fr_FR/palettes/Mathoperations_pal/SUM_f.xml | 192 ++ .../fr_FR/palettes/Mathoperations_pal/TANBLK_f.xml | 201 +++ .../fr_FR/palettes/Mathoperations_pal/TrigFun.xml | 286 +++ .../fr_FR/palettes/Matrix_pal/AA_Matrix_pal.xml | 305 ++++ .../xcos/help/fr_FR/palettes/Matrix_pal/CHAPTER | 1 + .../xcos/help/fr_FR/palettes/Matrix_pal/CUMSUM.xml | 287 +++ .../help/fr_FR/palettes/Matrix_pal/EXTRACT.xml | 273 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/EXTTRI.xml | 297 +++ .../help/fr_FR/palettes/Matrix_pal/MATBKSL.xml | 246 +++ .../help/fr_FR/palettes/Matrix_pal/MATCATH.xml | 241 +++ .../help/fr_FR/palettes/Matrix_pal/MATCATV.xml | 242 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATDET.xml | 247 +++ .../help/fr_FR/palettes/Matrix_pal/MATDIAG.xml | 239 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATDIV.xml | 248 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATEIG.xml | 271 +++ .../help/fr_FR/palettes/Matrix_pal/MATEXPM.xml | 239 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATINV.xml | 232 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATLU.xml | 238 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATMUL.xml | 322 ++++ .../help/fr_FR/palettes/Matrix_pal/MATPINV.xml | 244 +++ .../help/fr_FR/palettes/Matrix_pal/MATRESH.xml | 258 +++ .../help/fr_FR/palettes/Matrix_pal/MATSING.xml | 266 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/MATSUM.xml | 278 +++ .../help/fr_FR/palettes/Matrix_pal/MATTRAN.xml | 274 +++ .../help/fr_FR/palettes/Matrix_pal/MATZCONJ.xml | 210 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/RICC.xml | 282 +++ .../help/fr_FR/palettes/Matrix_pal/ROOTCOEF.xml | 211 +++ .../xcos/help/fr_FR/palettes/Matrix_pal/SUBMAT.xml | 255 +++ .../palettes/Portaction_pal/AA_Portaction_pal.xml | 112 ++ .../help/fr_FR/palettes/Portaction_pal/CHAPTER | 1 + .../fr_FR/palettes/Portaction_pal/CLKINV_f.xml | 230 +++ .../fr_FR/palettes/Portaction_pal/CLKOUTV_f.xml | 229 +++ .../fr_FR/palettes/Portaction_pal/INIMPL_f.xml | 233 +++ .../help/fr_FR/palettes/Portaction_pal/IN_f.xml | 271 +++ .../fr_FR/palettes/Portaction_pal/OUTIMPL_f.xml | 238 +++ .../help/fr_FR/palettes/Portaction_pal/OUT_f.xml | 249 +++ .../fr_FR/palettes/Signalprocessing_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Signalrouting_pal/CHAPTER | 1 + modules/xcos/help/fr_FR/palettes/Sinks_pal/CHAPTER | 1 + .../xcos/help/fr_FR/palettes/Sinks_pal/WFILE_f.xml | 382 ++++ .../help/fr_FR/palettes/Sinks_pal/WRITEC_f.xml | 347 ++++ .../fr_FR/palettes/Sources_pal/AA_Sources_pal.xml | 267 +++ .../xcos/help/fr_FR/palettes/Sources_pal/CHAPTER | 1 + .../help/fr_FR/palettes/Sources_pal/RFILE_f.xml | 364 ++++ .../fr_FR/palettes/Thermohydraulics_pal/CHAPTER | 1 + .../palettes/Userdefinedfunctions_pal/CHAPTER | 1 + .../palettes/Zerocrossingdetection_pal/CHAPTER | 1 + .../help/fr_FR/programming_scicos_blocks/CHAPTER | 1 + .../c_computational_functions/CHAPTER | 1 + .../scilab_computational_functions/CHAPTER | 1 + .../utilities_functions/CHAPTER | 1 + .../xcos/help/fr_FR/scilab_data_structures/CHAPTER | 1 + .../fr_FR/scilab_data_structures/blocks/CHAPTER | 1 + .../compilation_simulation/CHAPTER | 1 + .../fr_FR/scilab_data_structures/diagram/CHAPTER | 1 + .../fr_FR/scilab_data_structures/links/CHAPTER | 1 + .../help/fr_FR/scilab_utilities_functions/CHAPTER | 1 + .../MODELICA_USER_LIBS.xml | 69 + .../block_parameter_error.xml | 131 ++ .../xcosAddToolsMenu.xml | 89 + .../scilab_utilities_functions/xcosUpdateBlock.xml | 79 + modules/xcos/help/fr_FR/solvers/0-LSodar.xml | 217 +++ modules/xcos/help/fr_FR/solvers/1-CVode.xml | 299 +++ modules/xcos/help/fr_FR/solvers/2-Runge-Kutta.xml | 268 +++ .../xcos/help/fr_FR/solvers/3-Dormand-Prince.xml | 255 +++ modules/xcos/help/fr_FR/solvers/4-RKImplicite.xml | 311 ++++ modules/xcos/help/fr_FR/solvers/6-IDA.xml | 207 +++ modules/xcos/help/fr_FR/solvers/7-DDaskr.xml | 244 +++ modules/xcos/help/fr_FR/solvers/8-Racines.xml | 187 ++ modules/xcos/help/fr_FR/solvers/9-Comparaisons.xml | 826 +++++++++ modules/xcos/help/fr_FR/solvers/CHAPTER | 1 + modules/xcos/help/fr_FR/xcos.xml | 187 ++ modules/xcos/help/fr_FR/xcos_menu_entries.xml | 976 ++++++++++ .../gui/annotations_pal/en_US/TEXT_f_color_gui.png | Bin 0 -> 26973 bytes .../gui/annotations_pal/en_US/TEXT_f_text_gui.png | Bin 0 -> 11593 bytes .../gui/annotations_pal/fr_FR/TEXT_f_color_gui.png | Bin 0 -> 125384 bytes .../gui/annotations_pal/fr_FR/TEXT_f_text_gui.png | Bin 0 -> 92730 bytes .../gui/discontinuities_pal/en_US/DEADBAND_gui.png | Bin 0 -> 25537 bytes .../gui/discontinuities_pal/fr_FR/DEADBAND_gui.png | Bin 0 -> 25537 bytes .../help/gui/discrete_pal/en_US/DELAY_f_gui.png | Bin 0 -> 20138 bytes .../help/gui/discrete_pal/fr_FR/DELAY_f_gui.png | Bin 0 -> 20252 bytes .../help/gui/integer_pal/en_US/BITCLEAR_gui.png | Bin 0 -> 8060 bytes .../xcos/help/gui/integer_pal/en_US/BITSET_gui.png | Bin 0 -> 8023 bytes .../help/gui/integer_pal/en_US/CONVERT_gui.png | Bin 0 -> 18479 bytes .../help/gui/integer_pal/en_US/EXTRACTBITS_gui.png | Bin 0 -> 25370 bytes .../xcos/help/gui/integer_pal/en_US/INTMUL_gui.png | Bin 0 -> 15349 bytes .../help/gui/integer_pal/en_US/JKFLIPFLOP_gui.png | Bin 0 -> 15016 bytes .../xcos/help/gui/integer_pal/en_US/LOGIC_gui.png | Bin 0 -> 17935 bytes .../xcos/help/gui/integer_pal/en_US/SHIFT_gui.png | Bin 0 -> 17554 bytes .../help/gui/integer_pal/en_US/SRFLIPFLOP_gui.png | Bin 0 -> 15223 bytes .../help/gui/integer_pal/fr_FR/BITCLEAR_gui.png | Bin 0 -> 8072 bytes .../xcos/help/gui/integer_pal/fr_FR/BITSET_gui.png | Bin 0 -> 8002 bytes .../help/gui/integer_pal/fr_FR/CONVERT_gui.png | Bin 0 -> 18523 bytes .../help/gui/integer_pal/fr_FR/EXTRACTBITS_gui.png | Bin 0 -> 25393 bytes .../xcos/help/gui/integer_pal/fr_FR/INTMUL_gui.png | Bin 0 -> 15354 bytes .../help/gui/integer_pal/fr_FR/JKFLIPFLOP_gui.png | Bin 0 -> 15085 bytes .../xcos/help/gui/integer_pal/fr_FR/LOGIC_gui.png | Bin 0 -> 17955 bytes .../xcos/help/gui/integer_pal/fr_FR/SHIFT_gui.png | Bin 0 -> 17600 bytes .../help/gui/integer_pal/fr_FR/SRFLIPFLOP_gui.png | Bin 0 -> 15274 bytes .../gui/lookuptables_pal/en_US/INTRPLBLK_f_gui.png | Bin 0 -> 13870 bytes .../help/gui/portaction_pal/en_US/CLKINV_f_gui.png | Bin 0 -> 10565 bytes .../gui/portaction_pal/en_US/CLKOUTV_f_gui.png | Bin 0 -> 10702 bytes .../help/gui/portaction_pal/en_US/INIMPL_f_gui.png | Bin 0 -> 10312 bytes .../help/gui/portaction_pal/en_US/IN_f_gui.png | Bin 0 -> 15689 bytes .../gui/portaction_pal/en_US/OUTIMPL_f_gui.png | Bin 0 -> 10480 bytes .../help/gui/portaction_pal/en_US/OUT_f_gui.png | Bin 0 -> 10565 bytes .../help/gui/portaction_pal/fr_FR/CLKINV_f_gui.png | Bin 0 -> 10262 bytes .../gui/portaction_pal/fr_FR/CLKOUTV_f_gui.png | Bin 0 -> 10512 bytes .../help/gui/portaction_pal/fr_FR/INIMPL_f_gui.png | Bin 0 -> 10170 bytes .../help/gui/portaction_pal/fr_FR/IN_f_gui.png | Bin 0 -> 16033 bytes .../gui/portaction_pal/fr_FR/OUTIMPL_f_gui.png | Bin 0 -> 10279 bytes .../help/gui/portaction_pal/fr_FR/OUT_f_gui.png | Bin 0 -> 10366 bytes .../xcos/help/gui/sinks_pal/en_US/WFILE_f_gui.png | Bin 0 -> 22625 bytes .../xcos/help/gui/sinks_pal/en_US/WRITEC_f_gui.png | Bin 0 -> 17538 bytes .../xcos/help/gui/sinks_pal/fr_FR/WFILE_f_gui.png | Bin 0 -> 22479 bytes .../xcos/help/gui/sinks_pal/fr_FR/WRITEC_f_gui.png | Bin 0 -> 17566 bytes .../help/gui/sources_pal/en_US/CLOCK_c_gui.png | Bin 0 -> 15896 bytes .../help/gui/sources_pal/en_US/Counter_gui.png | Bin 0 -> 13104 bytes .../help/gui/sources_pal/en_US/GENSIN_f_gui.png | Bin 0 -> 13594 bytes .../help/gui/sources_pal/en_US/GENSQR_f_gui.png | Bin 0 -> 12303 bytes .../gui/sources_pal/en_US/Modulo_Count_gui.png | Bin 0 -> 14698 bytes .../help/gui/sources_pal/en_US/PULSE_SC_gui.png | Bin 0 -> 15754 bytes .../xcos/help/gui/sources_pal/en_US/RAMP_gui.png | Bin 0 -> 12515 bytes .../help/gui/sources_pal/en_US/RFILE_f_gui.png | Bin 0 -> 25149 bytes .../gui/sources_pal/en_US/STEP_FUNCTION_gui.png | Bin 0 -> 13030 bytes .../help/gui/sources_pal/en_US/TKSCALE_gui.png | Bin 0 -> 14797 bytes .../help/gui/sources_pal/fr_FR/RFILE_f_gui.png | Bin 0 -> 25053 bytes .../en_US/EXPRESSION_gui.png | Bin 0 -> 24590 bytes modules/xcos/help/gui/xcos/en_US/xcos_gui.png | Bin 0 -> 17184 bytes .../xcos/help/gui/xcos/en_US/xcos_palette_gui.png | Bin 0 -> 41657 bytes .../gui/xcos/en_US/xcos_palette_select_gui.png | Bin 0 -> 37122 bytes modules/xcos/help/gui/xcos/fr_FR/xcos_gui.png | Bin 0 -> 17540 bytes .../xcos/help/gui/xcos/fr_FR/xcos_palette_gui.png | Bin 0 -> 43370 bytes .../gui/xcos/fr_FR/xcos_palette_select_gui.png | Bin 0 -> 39443 bytes .../gui/xcos_menu_entries/en_US/xcos_menu_edit.png | Bin 0 -> 12911 bytes .../gui/xcos_menu_entries/en_US/xcos_menu_file.png | Bin 0 -> 10865 bytes .../xcos_menu_entries/en_US/xcos_menu_format.png | Bin 0 -> 11159 bytes .../en_US/xcos_menu_format_align.png | Bin 0 -> 3454 bytes .../en_US/xcos_menu_format_link_style.png | Bin 0 -> 1943 bytes .../gui/xcos_menu_entries/en_US/xcos_menu_help.png | Bin 0 -> 4332 bytes .../en_US/xcos_menu_simulation.png | Bin 0 -> 8094 bytes .../xcos_menu_entries/en_US/xcos_menu_tools.png | Bin 0 -> 1848 bytes .../gui/xcos_menu_entries/en_US/xcos_menu_view.png | Bin 0 -> 8608 bytes .../xcos_menu_entries/en_US/xcos_menu_viewport.png | Bin 0 -> 24285 bytes .../en_US/xcos_set_context_gui.png | Bin 0 -> 13382 bytes .../en_US/xcos_set_simulation_parameters_gui.png | Bin 0 -> 20609 bytes .../gui/xcos_menu_entries/fr_FR/xcos_menu_edit.png | Bin 0 -> 13789 bytes .../gui/xcos_menu_entries/fr_FR/xcos_menu_file.png | Bin 0 -> 11451 bytes .../xcos_menu_entries/fr_FR/xcos_menu_format.png | Bin 0 -> 11920 bytes .../fr_FR/xcos_menu_format_align.png | Bin 0 -> 3489 bytes .../fr_FR/xcos_menu_format_link_style.png | Bin 0 -> 1782 bytes .../gui/xcos_menu_entries/fr_FR/xcos_menu_help.png | Bin 0 -> 4796 bytes .../fr_FR/xcos_menu_simulation.png | Bin 0 -> 8565 bytes .../xcos_menu_entries/fr_FR/xcos_menu_tools.png | Bin 0 -> 1955 bytes .../gui/xcos_menu_entries/fr_FR/xcos_menu_view.png | Bin 0 -> 5981 bytes .../xcos_menu_entries/fr_FR/xcos_menu_viewport.png | Bin 0 -> 24029 bytes .../fr_FR/xcos_set_context_gui.png | Bin 0 -> 14090 bytes .../fr_FR/xcos_set_simulation_parameters_gui.png | Bin 0 -> 23240 bytes modules/xcos/help/images/Xcos_Debug.png | Bin 0 -> 23528 bytes .../palettes/integer_pal/shift_arithmetic_left.gif | Bin 0 -> 2093 bytes .../integer_pal/shift_arithmetic_right.gif | Bin 0 -> 3036 bytes .../palettes/integer_pal/shift_rotate_left.gif | Bin 0 -> 2584 bytes .../palettes/integer_pal/shift_rotate_right.gif | Bin 0 -> 2484 bytes .../sinks_pal/en_US/wfile_f_record_en_US.gif | Bin 0 -> 2287 bytes .../sinks_pal/en_US/writec_f_record_en_US.gif | Bin 0 -> 2435 bytes .../sinks_pal/fr_FR/wfile_f_record_fr_FR.gif | Bin 0 -> 2501 bytes .../sinks_pal/fr_FR/writec_f_record_fr_FR.gif | Bin 0 -> 2704 bytes .../sources_pal/en_US/rfile_f_record_en_US.gif | Bin 0 -> 2435 bytes .../sources_pal/fr_FR/rfile_f_record_fr_FR.gif | Bin 0 -> 2704 bytes .../en_US/C_struct_img12_en_US.gif | Bin 0 -> 22065 bytes .../en_US/C_struct_img1_en_US.gif | Bin 0 -> 8750 bytes .../en_US/C_struct_img2_en_US.gif | Bin 0 -> 21981 bytes .../en_US/C_struct_img3_en_US.gif | Bin 0 -> 9150 bytes .../en_US/C_struct_img4_en_US.gif | Bin 0 -> 23600 bytes .../en_US/C_struct_img9_en_US.gif | Bin 0 -> 15697 bytes .../en_US/xcos_link_horizontal_en_US.png | Bin 0 -> 1426 bytes .../en_US/xcos_link_straight_en_US.png | Bin 0 -> 1721 bytes .../en_US/xcos_link_vertical_en_US.png | Bin 0 -> 1300 bytes .../fr_FR/xcos_link_horizontal_fr_FR.png | Bin 0 -> 1426 bytes .../fr_FR/xcos_link_straight_fr_FR.png | Bin 0 -> 1721 bytes .../fr_FR/xcos_link_vertical_fr_FR.png | Bin 0 -> 1300 bytes modules/xcos/help/ja_JP/addchapter.sce | 11 + modules/xcos/help/ja_JP/batch_functions/CHAPTER | 1 + modules/xcos/help/ja_JP/batch_functions/lincos.xml | 246 +++ .../help/ja_JP/batch_functions/scicos_simulate.xml | 300 +++ .../xcos/help/ja_JP/batch_functions/scicosim.xml | 148 ++ .../xcos/help/ja_JP/batch_functions/steadycos.xml | 340 ++++ .../ja_JP/batch_functions/xcosValidateBlockSet.xml | 81 + .../batch_functions/xcosValidateCompareBlock.xml | 84 + .../help/ja_JP/batch_functions/xcos_simulate.xml | 254 +++ .../Annotations_pal/AA_Annotations_pal.xml | 110 ++ .../help/ja_JP/palettes/Annotations_pal/CHAPTER | 1 + .../help/ja_JP/palettes/Annotations_pal/TEXT_f.xml | 521 ++++++ .../AA_Commonlyusedblocks_pal.xml | 477 +++++ .../ja_JP/palettes/Commonlyusedblocks_pal/CHAPTER | 1 + .../palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml | 455 +++++ .../Commonlyusedblocks_pal/RELATIONALOP.xml | 453 +++++ .../palettes/Continuous_pal/AA_Continuous_pal.xml | 162 ++ .../help/ja_JP/palettes/Continuous_pal/CHAPTER | 1 + .../ja_JP/palettes/Continuous_pal/CLINDUMMY_f.xml | 157 ++ .../help/ja_JP/palettes/Continuous_pal/CLR.xml | 224 +++ .../help/ja_JP/palettes/Continuous_pal/CLSS.xml | 388 ++++ .../help/ja_JP/palettes/Continuous_pal/DERIV.xml | 229 +++ .../ja_JP/palettes/Continuous_pal/INTEGRAL_f.xml | 215 +++ .../ja_JP/palettes/Continuous_pal/INTEGRAL_m.xml | 352 ++++ .../help/ja_JP/palettes/Continuous_pal/PID.xml | 372 ++++ .../help/ja_JP/palettes/Continuous_pal/TCLSS.xml | 274 +++ .../ja_JP/palettes/Continuous_pal/TIME_DELAY.xml | 254 +++ .../palettes/Continuous_pal/VARIABLE_DELAY.xml | 305 ++++ .../ja_JP/scilab_data_structures/blocks/CHAPTER | 1 + .../scilab_data_structures/blocks/scicos_block.xml | 120 ++ .../blocks/scicos_graphics.xml | 681 +++++++ .../scilab_data_structures/blocks/scicos_model.xml | 1456 +++++++++++++++ .../compilation_simulation/CHAPTER | 1 + .../compilation_simulation/scicos_cpr.xml | 129 ++ .../compilation_simulation/scicos_sim.xml | 553 ++++++ .../compilation_simulation/scicos_state.xml | 188 ++ .../ja_JP/scilab_data_structures/diagram/CHAPTER | 1 + .../diagram/scicos_diagram.xml | 121 ++ .../diagram/scicos_params.xml | 383 ++++ .../ja_JP/scilab_data_structures/links/CHAPTER | 1 + .../scilab_data_structures/links/scicos_link.xml | 156 ++ modules/xcos/help/ja_JP/xcos.xml | 417 +++++ modules/xcos/help/ja_JP/xcos_debug_gui.xml | 263 +++ modules/xcos/help/ja_JP/xcos_menu_entries.xml | 1901 ++++++++++++++++++++ modules/xcos/help/mml/integral_m.mml | 42 + modules/xcos/help/pt_BR/addchapter.sce | 11 + modules/xcos/help/ru_RU/addchapter.sce | 11 + 675 files changed, 123133 insertions(+) create mode 100755 modules/xcos/help/en_US/addchapter.sce create mode 100755 modules/xcos/help/en_US/batch_functions/CHAPTER create mode 100755 modules/xcos/help/en_US/batch_functions/lincos.xml create mode 100755 modules/xcos/help/en_US/batch_functions/scicos_simulate.xml create mode 100755 modules/xcos/help/en_US/batch_functions/scicosim.xml create mode 100755 modules/xcos/help/en_US/batch_functions/steadycos.xml create mode 100755 modules/xcos/help/en_US/batch_functions/xcosValidateBlockSet.xml create mode 100755 modules/xcos/help/en_US/batch_functions/xcosValidateCompareBlock.xml create mode 100755 modules/xcos/help/en_US/batch_functions/xcos_simulate.xml create mode 100755 modules/xcos/help/en_US/palettes/Annotations_pal/AA_Annotations_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Annotations_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Annotations_pal/TEXT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml create mode 100755 modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/AA_Continuous_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/CLINDUMMY_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/CLR.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/CLSS.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/DERIV.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/PID.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/TCLSS.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/TIME_DELAY.xml create mode 100755 modules/xcos/help/en_US/palettes/Continuous_pal/VARIABLE_DELAY.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AA_Demonstrationsblocks_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AUTOMAT.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCE.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCEXY.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BPLATFORM.xml create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/PDE.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/BACKLASH.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/DEADBAND.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/HYSTHERESIS.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/RATELIMITER.xml create mode 100755 modules/xcos/help/en_US/palettes/Discontinuities_pal/SATURATION.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/AA_Discrete_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DELAYV_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DELAY_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DLR.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DLRADAPT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DLSS.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/DOLLAR_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Discrete_pal/REGISTER.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/AA_Electrical_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/CCS.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/CVS.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Capacitor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/ConstantVoltage.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/CurrentSensor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Diode.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Ground.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Gyrator.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/IdealTransformer.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Inductor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/NMOS.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/NPN.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/OpAmp.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/PMOS.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/PNP.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/PotentialSensor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Resistor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/SineVoltage.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/Switch.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/VVsourceAC.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/VariableResistor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/VoltageSensor.xml create mode 100755 modules/xcos/help/en_US/palettes/Electrical_pal/VsourceAC.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/AA_Events_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/ANDBLK.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/ANDLOG_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CEVENTSCOPE.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CLKFROM.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CLKGOTO.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CLKGotoTagVisibility.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/CLKSOMV_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/EDGE_TRIGGER.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/ESELECT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/EVTDLY_c.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/EVTGEN_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/EVTVARDLY.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/Extract_Activation.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/HALT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/IFTHEL_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/MCLOCK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/MFCLCK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/M_freq.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/VirtualCLK0.xml create mode 100755 modules/xcos/help/en_US/palettes/Events_pal/freq_div.xml create mode 100755 modules/xcos/help/en_US/palettes/Implicit_pal/AA_Implicit_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Implicit_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Implicit_pal/CONSTRAINT_c.xml create mode 100755 modules/xcos/help/en_US/palettes/Implicit_pal/DIFF_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/AA_Integer_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/BITCLEAR.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/BITSET.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/CONVERT.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/DFLIPFLOP.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/DLATCH.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/EXTRACTBITS.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/INTMUL.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP_content.dbk create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/LOGIC.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/SHIFT.xml create mode 100755 modules/xcos/help/en_US/palettes/Integer_pal/SRFLIPFLOP.xml create mode 100755 modules/xcos/help/en_US/palettes/Lookuptables_pal/AA_Lookuptables_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Lookuptables_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRP2BLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRPLBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Lookuptables_pal/LOOKUP_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/ABS_VALUE.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/BIGSOM_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/COSBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/EXPBLK_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/GAINBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/INVBLK.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/LOGBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/MATMAGPHI.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/MATZREIM.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/MAXMIN.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/MAX_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/MIN_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/POWBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/PRODUCT.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/PROD_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/SIGNUM.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/SINBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/SQRT.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/SUMMATION.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/SUM_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/TANBLK_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Mathoperations_pal/TrigFun.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/AA_Matrix_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/CUMSUM.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/EXTRACT.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/EXTTRI.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATBKSL.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATCATH.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATCATV.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATDET.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATDIAG.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATDIV.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATEIG.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATEXPM.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATINV.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATLU.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATMUL.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATPINV.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATRESH.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATSING.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATSUM.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATTRAN.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/MATZCONJ.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/RICC.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/ROOTCOEF.xml create mode 100755 modules/xcos/help/en_US/palettes/Matrix_pal/SUBMAT.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/AA_Portaction_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/CLKINV_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/CLKOUTV_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/INIMPL_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/IN_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/OUTIMPL_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Portaction_pal/OUT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalprocessing_pal/AA_Signalprocessing_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalprocessing_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Signalprocessing_pal/QUANT_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalprocessing_pal/SAMPHOLD_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/AA_Signalrouting_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/DEMUX.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/EXTRACTOR.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/FROM.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/FROMMO.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTO.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTOMO.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibility.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibilityMO.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/ISELECT_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/MUX.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/M_SWITCH.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/NRMSOM_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/RELAY_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/SELECT_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/SELF_SWITCH.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH2_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/AA_Sinks_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/AFFICH_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/BARXY.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY3D.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CFSCOPE.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CMAT3D.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CMATVIEW.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CMSCOPE.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPE.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY3D.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/ENDBLK.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/END_c.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/TOWS_c.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/TRASH_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/WFILE_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/WRITEAU_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sinks_pal/WRITEC_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/AA_Sources_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/CLOCK_c.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/CONST_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/CURV_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/Counter.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/FROMWSB.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/GENSIN_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/GENSQR_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/Modulo_Count.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/PULSE_SC.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/RAMP.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/RAND_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/READAU_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/READC_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/RFILE_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/SAWTOOTH_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/STEP_FUNCTION.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/SampleCLK.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/Sigbuilder.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/TIME_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Sources_pal/TKSCALE.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/AA_ThermoHydraulics_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Bache.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Flowmeter.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PerteDP.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PuitsP.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/SourceP.xml create mode 100755 modules/xcos/help/en_US/palettes/Thermohydraulics_pal/VanneReglante.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/AA_Userdefinedfunctions_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CBLOCK.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/DSUPER.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/EXPRESSION.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/MBLOCK.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/SUPER_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/c_block.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/fortran_block.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/generic_block3.xml create mode 100755 modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/scifunc_block_m.xml create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/AA_Zerocrossingdetection_pal.xml create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/CHAPTER create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/GENERAL_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/NEGTOPOS_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/POSTONEG_f.xml create mode 100755 modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/ZCROSS_f.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/CHAPTER create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/CHAPTER create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_macros.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_utils.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/CHAPTER create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/sci_struct.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/CHAPTER create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/curblock.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getblocklabel.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getscicosvars.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/phase_simulation.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/pointer_xproperty.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/scicos_time.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_blockerror.xml create mode 100755 modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_xproperty.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_data_structures/blocks/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_block.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_graphics.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_model.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_cpr.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_sim.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_state.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/diagram/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_diagram.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_params.xml create mode 100755 modules/xcos/help/en_US/scilab_data_structures/links/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_data_structures/links/scicos_link.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/CHAPTER create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/MODELICA_USER_LIBS.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/block_parameter_error.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/buildouttb.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/getModelicaPath.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/importXcosDiagram.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/loadScicos.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/loadXcosLibs.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/scicos_debug.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/scicos_getvalue.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/standard_inputs.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/standard_origin.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/standard_outputs.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/var2vec.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/vec2var.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosAddToolsMenu.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPal.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAdd.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAddBlock.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalDelete.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalExport.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalGenerateAllIcons.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosPalMove.xml create mode 100755 modules/xcos/help/en_US/scilab_utilities_functions/xcosUpdateBlock.xml create mode 100755 modules/xcos/help/en_US/solvers/0-LSodar.xml create mode 100755 modules/xcos/help/en_US/solvers/1-CVode.xml create mode 100755 modules/xcos/help/en_US/solvers/2-Runge-Kutta.xml create mode 100755 modules/xcos/help/en_US/solvers/3-Dormand-Prince.xml create mode 100755 modules/xcos/help/en_US/solvers/4-ImplicitRK.xml create mode 100755 modules/xcos/help/en_US/solvers/6-IDA.xml create mode 100755 modules/xcos/help/en_US/solvers/7-DDaskr.xml create mode 100755 modules/xcos/help/en_US/solvers/8-Rootfinding.xml create mode 100755 modules/xcos/help/en_US/solvers/9-Comparisons.xml create mode 100755 modules/xcos/help/en_US/solvers/CHAPTER create mode 100755 modules/xcos/help/en_US/xcos.xml create mode 100755 modules/xcos/help/en_US/xcos_debug_gui.xml create mode 100755 modules/xcos/help/en_US/xcos_menu_entries.xml create mode 100755 modules/xcos/help/examples/annotations_pal/en_US/text_f_diagram_en_US.png create mode 100755 modules/xcos/help/examples/clss_d1.png create mode 100755 modules/xcos/help/examples/discontinuities_pal/en_US/deadband_desc_en_US.png create mode 100755 modules/xcos/help/examples/pid_error.gif create mode 100755 modules/xcos/help/examples/pid_filter.gif create mode 100755 modules/xcos/help/examples/pid_filter_parameters.png create mode 100755 modules/xcos/help/examples/pid_law.gif create mode 100755 modules/xcos/help/examples/pid_structure.png create mode 100755 modules/xcos/help/examples/scilab_utilities_functions/en_US/block_parameter_error_en_US.png create mode 100755 modules/xcos/help/examples/scilab_utilities_functions/fr_FR/block_parameter_error_fr_FR.png create mode 100755 modules/xcos/help/examples/variable_delay1.png create mode 100755 modules/xcos/help/examples/variable_delay_with_equations.png create mode 100755 modules/xcos/help/fr_FR/addchapter.sce create mode 100755 modules/xcos/help/fr_FR/batch_functions/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Annotations_pal/AA_Annotations_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Annotations_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Annotations_pal/TEXT_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/AA_Continuous_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/CLINDUMMY_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/CLR.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/CLSS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/DERIV.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_m.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/PID.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/TCLSS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/TIME_DELAY.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Continuous_pal/VARIABLE_DELAY.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Demonstrationsblocks_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/BACKLASH.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/DEADBAND.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/HYSTHERESIS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/RATELIMITER.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discontinuities_pal/SATURATION.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/AA_Discrete_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAYV_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAY_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DLR.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DLRADAPT_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DLSS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/DOLLAR_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Discrete_pal/REGISTER.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/AA_Electrical_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/CCS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/CVS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Capacitor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/ConstantVoltage.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/CurrentSensor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Diode.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Ground.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Gyrator.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/IdealTransformer.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Inductor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/NMOS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/NPN.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/OpAmp.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/PMOS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/PNP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/PotentialSensor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Resistor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/SineVoltage.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/Switch.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/VVsourceAC.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/VariableResistor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/VoltageSensor.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Electrical_pal/VsourceAC.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Events_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Implicit_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/AA_Integer_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/BITCLEAR.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/BITSET.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/CONVERT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/DFLIPFLOP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/DLATCH.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/EXTRACTBITS.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/INTMUL.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/JKFLIPFLOP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/LOGIC.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/SHIFT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Integer_pal/SRFLIPFLOP.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Lookuptables_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/ABS_VALUE.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/BIGSOM_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/COSBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/EXPBLK_m.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/GAINBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/INVBLK.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/LOGBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATMAGPHI.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATZREIM.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAXMIN.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAX_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MIN_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/POWBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PRODUCT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PROD_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SIGNUM.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SINBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SQRT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUMMATION.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUM_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TANBLK_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TrigFun.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/AA_Matrix_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/CUMSUM.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTRACT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTTRI.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATBKSL.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATH.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATV.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDET.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIAG.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIV.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEIG.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEXPM.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATINV.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATLU.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATMUL.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATPINV.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATRESH.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSING.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSUM.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATTRAN.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/MATZCONJ.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/RICC.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/ROOTCOEF.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Matrix_pal/SUBMAT.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/AA_Portaction_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKINV_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKOUTV_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/INIMPL_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/IN_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/OUTIMPL_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Portaction_pal/OUT_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Signalprocessing_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Signalrouting_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Sinks_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Sinks_pal/WFILE_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Sinks_pal/WRITEC_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Sources_pal/AA_Sources_pal.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Sources_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Sources_pal/RFILE_f.xml create mode 100755 modules/xcos/help/fr_FR/palettes/Thermohydraulics_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Userdefinedfunctions_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/palettes/Zerocrossingdetection_pal/CHAPTER create mode 100755 modules/xcos/help/fr_FR/programming_scicos_blocks/CHAPTER create mode 100755 modules/xcos/help/fr_FR/programming_scicos_blocks/c_computational_functions/CHAPTER create mode 100755 modules/xcos/help/fr_FR/programming_scicos_blocks/scilab_computational_functions/CHAPTER create mode 100755 modules/xcos/help/fr_FR/programming_scicos_blocks/utilities_functions/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_data_structures/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_data_structures/blocks/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_data_structures/compilation_simulation/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_data_structures/diagram/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_data_structures/links/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_utilities_functions/CHAPTER create mode 100755 modules/xcos/help/fr_FR/scilab_utilities_functions/MODELICA_USER_LIBS.xml create mode 100755 modules/xcos/help/fr_FR/scilab_utilities_functions/block_parameter_error.xml create mode 100755 modules/xcos/help/fr_FR/scilab_utilities_functions/xcosAddToolsMenu.xml create mode 100755 modules/xcos/help/fr_FR/scilab_utilities_functions/xcosUpdateBlock.xml create mode 100755 modules/xcos/help/fr_FR/solvers/0-LSodar.xml create mode 100755 modules/xcos/help/fr_FR/solvers/1-CVode.xml create mode 100755 modules/xcos/help/fr_FR/solvers/2-Runge-Kutta.xml create mode 100755 modules/xcos/help/fr_FR/solvers/3-Dormand-Prince.xml create mode 100755 modules/xcos/help/fr_FR/solvers/4-RKImplicite.xml create mode 100755 modules/xcos/help/fr_FR/solvers/6-IDA.xml create mode 100755 modules/xcos/help/fr_FR/solvers/7-DDaskr.xml create mode 100755 modules/xcos/help/fr_FR/solvers/8-Racines.xml create mode 100755 modules/xcos/help/fr_FR/solvers/9-Comparaisons.xml create mode 100755 modules/xcos/help/fr_FR/solvers/CHAPTER create mode 100755 modules/xcos/help/fr_FR/xcos.xml create mode 100755 modules/xcos/help/fr_FR/xcos_menu_entries.xml create mode 100755 modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_color_gui.png create mode 100755 modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_text_gui.png create mode 100755 modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_color_gui.png create mode 100755 modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_text_gui.png create mode 100755 modules/xcos/help/gui/discontinuities_pal/en_US/DEADBAND_gui.png create mode 100755 modules/xcos/help/gui/discontinuities_pal/fr_FR/DEADBAND_gui.png create mode 100755 modules/xcos/help/gui/discrete_pal/en_US/DELAY_f_gui.png create mode 100755 modules/xcos/help/gui/discrete_pal/fr_FR/DELAY_f_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/BITCLEAR_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/BITSET_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/CONVERT_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/EXTRACTBITS_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/INTMUL_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/JKFLIPFLOP_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/LOGIC_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/SHIFT_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/en_US/SRFLIPFLOP_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/BITCLEAR_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/BITSET_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/CONVERT_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/EXTRACTBITS_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/INTMUL_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/JKFLIPFLOP_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/LOGIC_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/SHIFT_gui.png create mode 100755 modules/xcos/help/gui/integer_pal/fr_FR/SRFLIPFLOP_gui.png create mode 100755 modules/xcos/help/gui/lookuptables_pal/en_US/INTRPLBLK_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/CLKINV_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/CLKOUTV_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/INIMPL_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/IN_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/OUTIMPL_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/en_US/OUT_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/CLKINV_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/CLKOUTV_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/INIMPL_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/IN_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/OUTIMPL_f_gui.png create mode 100755 modules/xcos/help/gui/portaction_pal/fr_FR/OUT_f_gui.png create mode 100755 modules/xcos/help/gui/sinks_pal/en_US/WFILE_f_gui.png create mode 100755 modules/xcos/help/gui/sinks_pal/en_US/WRITEC_f_gui.png create mode 100755 modules/xcos/help/gui/sinks_pal/fr_FR/WFILE_f_gui.png create mode 100755 modules/xcos/help/gui/sinks_pal/fr_FR/WRITEC_f_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/CLOCK_c_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/Counter_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/GENSIN_f_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/GENSQR_f_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/Modulo_Count_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/PULSE_SC_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/RAMP_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/RFILE_f_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/STEP_FUNCTION_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/en_US/TKSCALE_gui.png create mode 100755 modules/xcos/help/gui/sources_pal/fr_FR/RFILE_f_gui.png create mode 100755 modules/xcos/help/gui/userdefinedfunctions_pal/en_US/EXPRESSION_gui.png create mode 100755 modules/xcos/help/gui/xcos/en_US/xcos_gui.png create mode 100755 modules/xcos/help/gui/xcos/en_US/xcos_palette_gui.png create mode 100755 modules/xcos/help/gui/xcos/en_US/xcos_palette_select_gui.png create mode 100755 modules/xcos/help/gui/xcos/fr_FR/xcos_gui.png create mode 100755 modules/xcos/help/gui/xcos/fr_FR/xcos_palette_gui.png create mode 100755 modules/xcos/help/gui/xcos/fr_FR/xcos_palette_select_gui.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_edit.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_file.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_align.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_link_style.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_help.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_simulation.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_tools.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_view.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_viewport.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_context_gui.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_simulation_parameters_gui.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_edit.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_file.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_align.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_link_style.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_help.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_simulation.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_tools.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_view.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_viewport.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_context_gui.png create mode 100755 modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_simulation_parameters_gui.png create mode 100755 modules/xcos/help/images/Xcos_Debug.png create mode 100755 modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_left.gif create mode 100755 modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_right.gif create mode 100755 modules/xcos/help/images/palettes/integer_pal/shift_rotate_left.gif create mode 100755 modules/xcos/help/images/palettes/integer_pal/shift_rotate_right.gif create mode 100755 modules/xcos/help/images/palettes/sinks_pal/en_US/wfile_f_record_en_US.gif create mode 100755 modules/xcos/help/images/palettes/sinks_pal/en_US/writec_f_record_en_US.gif create mode 100755 modules/xcos/help/images/palettes/sinks_pal/fr_FR/wfile_f_record_fr_FR.gif create mode 100755 modules/xcos/help/images/palettes/sinks_pal/fr_FR/writec_f_record_fr_FR.gif create mode 100755 modules/xcos/help/images/palettes/sources_pal/en_US/rfile_f_record_en_US.gif create mode 100755 modules/xcos/help/images/palettes/sources_pal/fr_FR/rfile_f_record_fr_FR.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img12_en_US.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img1_en_US.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img2_en_US.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img3_en_US.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img4_en_US.gif create mode 100755 modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img9_en_US.gif create mode 100755 modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_horizontal_en_US.png create mode 100755 modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_straight_en_US.png create mode 100755 modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_vertical_en_US.png create mode 100755 modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_horizontal_fr_FR.png create mode 100755 modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_straight_fr_FR.png create mode 100755 modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_vertical_fr_FR.png create mode 100755 modules/xcos/help/ja_JP/addchapter.sce create mode 100755 modules/xcos/help/ja_JP/batch_functions/CHAPTER create mode 100755 modules/xcos/help/ja_JP/batch_functions/lincos.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/scicos_simulate.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/scicosim.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/steadycos.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/xcosValidateBlockSet.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/xcosValidateCompareBlock.xml create mode 100755 modules/xcos/help/ja_JP/batch_functions/xcos_simulate.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Annotations_pal/AA_Annotations_pal.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Annotations_pal/CHAPTER create mode 100755 modules/xcos/help/ja_JP/palettes/Annotations_pal/TEXT_f.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/CHAPTER create mode 100755 modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/AA_Continuous_pal.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/CHAPTER create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/CLINDUMMY_f.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/CLR.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/CLSS.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/DERIV.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_f.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_m.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/PID.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/TCLSS.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/TIME_DELAY.xml create mode 100755 modules/xcos/help/ja_JP/palettes/Continuous_pal/VARIABLE_DELAY.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/blocks/CHAPTER create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_block.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_graphics.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_model.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/CHAPTER create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_cpr.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_sim.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_state.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/diagram/CHAPTER create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_diagram.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_params.xml create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/links/CHAPTER create mode 100755 modules/xcos/help/ja_JP/scilab_data_structures/links/scicos_link.xml create mode 100755 modules/xcos/help/ja_JP/xcos.xml create mode 100755 modules/xcos/help/ja_JP/xcos_debug_gui.xml create mode 100755 modules/xcos/help/ja_JP/xcos_menu_entries.xml create mode 100755 modules/xcos/help/mml/integral_m.mml create mode 100755 modules/xcos/help/pt_BR/addchapter.sce create mode 100755 modules/xcos/help/ru_RU/addchapter.sce (limited to 'modules/xcos/help') diff --git a/modules/xcos/help/en_US/addchapter.sce b/modules/xcos/help/en_US/addchapter.sce new file mode 100755 index 000000000..bdbe5e67d --- /dev/null +++ b/modules/xcos/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Xcos",SCI+"/modules/xcos/help/en_US",%T); + diff --git a/modules/xcos/help/en_US/batch_functions/CHAPTER b/modules/xcos/help/en_US/batch_functions/CHAPTER new file mode 100755 index 000000000..f8021342f --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/CHAPTER @@ -0,0 +1 @@ +title = Batch functions diff --git a/modules/xcos/help/en_US/batch_functions/lincos.xml b/modules/xcos/help/en_US/batch_functions/lincos.xml new file mode 100755 index 000000000..1eda1caa7 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/lincos.xml @@ -0,0 +1,128 @@ + + + + + lincos + Constructs by linearization a linear state-space model from a general dynamical system described by a Xcos diagram + + + Calling Sequence + sys = lincos(scs_m [,x0,u0 [,param] ]) + + + Module + + + + xcos + + + + + + Description + + Construct a linear state-space system by linearizing a model given as a Xcos diagram. The idea is to transform a sub-diagram to a linear state-space model. The sub-diagram should have inputs and outputs. + + + The output is a Scilab data structure of type continuous-time state-space linear system. + + + + Examples + + + + Arguments + + + + scs_m : a xcos data structure + + + + + x0 : column vector. Continuous state around which linearization to be done (default 0) + + + + + u0 : column vector. Input around which linearization to be done (default 0) + + + + + param : param: list with two elements (default list(1.d-6,0)) param(1): scalar. Perturbation level for linearization; the following variation is used del([x;u])_i = param(1)+param(1)*1d-4*abs([x;u])_i. param(2): scalar. Time t. + + + + + sys : state-space system + + + + + + See Also + + + + steadycos - Finds an equilibrium state of a general dynamical system described by a xcos diagram (Scilab Function) + + + + + scicos_simulate - Function for running xcos simulation in batch mode (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/batch_functions/scicos_simulate.xml b/modules/xcos/help/en_US/batch_functions/scicos_simulate.xml new file mode 100755 index 000000000..3d37dfd49 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/scicos_simulate.xml @@ -0,0 +1,188 @@ + + + + + scicos_simulate + Function for running xcos simulation in batch mode + + + Calling Sequence + Info=scicos_simulate(scs_m) + Info=scicos_simulate(scs_m,Info) + Info=scicos_simulate(scs_m,context) + Info=scicos_simulate(scs_m,flag) + Info=scicos_simulate(scs_m ,Info [, context] [,flag]) + + + Arguments + + + scs_m: A diagram data structure (see scs_m structure). + + + + Info: A list. It must be set to list() at + the first call, then use output Info as + input Info for the next + calls. Info contains compilation and + simulation information and is used to avoid recompilation when + not needed. + + + + ContextValues: A Scilab struct containing values of symbolic variables + used in the context and xcos blocks. + + + + flag: A string. If it equals 'nw' (no window), + then blocks using graphical windows are not executed. Note + that the list of such blocks must be updated as new blocks are + added. + + + + + Module + + + + xcos + + + + + + Description + + This function is used to simulate xcos diagrams in batch + mode. It requires the scs_m + structure + + which can be obtained by loading in Scilab the + .zcos file (see + importXcosDiagram + + ). + + + Note that before being able to simulate you should first load the block library using loadXcosLibs(). + + + The ContextValues may be used to change + the main parameters value set in the main diagram + context. example: if the variable A is set to 1 + in the main context of the diagram. One can change the + A value for a scicos_simulate simulation by setting + + + It is also possible to use variables defined inside Scilab + directly without using the ContextValues + argument, but for such a use the context definition must allow + this: example, if one wants to allow simulation use the + A Scilab variable value for the parameter + A the diagram context definition should contain + Note that this second solution is + fragile because it rely on the current value of + A in Scilab. + + + + File content + + + SCI/modules/scicos/macros/scicos_auto/scicos_simulate.sci + + + + + Examples + + The xcos diagram in SCI/modules/xcos/demos/batch_simulation.zcos. + + + + + + + + + + See Also + + + scs_m structure + + + importXcosDiagram + + + loadXcosLibs + + + scicosim: xcos batch simulation function + + + xcos: Block diagram editor and GUI for the hybrid simulator + + + steadycos: Finds an equilibrium state of a Xcos diagram + + + lincos: Constructs by linearization a linear state-space model from a Xcos diagram + + + + diff --git a/modules/xcos/help/en_US/batch_functions/scicosim.xml b/modules/xcos/help/en_US/batch_functions/scicosim.xml new file mode 100755 index 000000000..ec2835325 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/scicosim.xml @@ -0,0 +1,125 @@ + + + + + scicosim + xcos (batch) simulation function + + + Calling Sequence + [state,t] = scicosim(state,tcur,tf,sim,str,tol) + + + Module + + + + xcos + + + + + + Description + + Simulator for xcos compiled diagram. + + + Usually scicosim is called by xcos to perform simulation of a diagram. + + + But scicosim may also be called outside xcos. Typical usage in such a case may be : + + + + + For advanced user it is possible to "manually" change some parameters or state values. + + + + + + + Arguments + + + + state : Scilab tlist containing initial state. Usually generated by xcos Compile. After loading a compiled .cos file, it can be found in %cpr.state. + + + + + tcur : starting time of simulation. At the beginning it must be zero. + + + + + tf : final simulation time. + + + + + sim : Scilab tlist containing compilation results. Usually generated by xcos Compile. After loading a compiled .cos file, it can be found in %cpr.sim. + + + + + str : 'start' , 'run' or 'finish'. Function must be first called with 'start', then with 'run' one or more times, and finally with 'finish'. + + + + + tol : vector [atol,rtol,ttol,deltat,realtimescale,solver,hmax] where atol, rtol are respectively the absolute and relative tolerances for ode or dae solver, ttol is the precision on event dates (must be very small), deltat is maximum integration interval for each call to ode solver (sometimes needed to force restaring the call to solver), realtimescale is the correspondance between simulation time and real time (0 means no slowing down), solver is the choice of solver (0: lsodar, 100: daskr), hmax: max step size used by solver. Default: [0.0001,1.000E-06,1.000E-10,100001,0,0] + + + + + state : state after simulation + + + + + t: final reached time. Usually tf but not always. + + + + + + See Also + + + + scicos_simulate - Function for running xcos simulation in batch mode (Scilab Function) + + + + + xcos - Block diagram editor and GUI for the hybrid simulator (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/batch_functions/steadycos.xml b/modules/xcos/help/en_US/batch_functions/steadycos.xml new file mode 100755 index 000000000..31c7804f2 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/steadycos.xml @@ -0,0 +1,174 @@ + + + + + steadycos + Finds an equilibrium state of a general dynamical system described by a xcos diagram + + + Calling Sequence + [X,U,Y,XP]=steadycos(scs_m,X,U,Y,Indx,Indu,Indy [,Indxp [,param ] ]) + + + Module + + + + xcos + + + + + + Description + + This function finds the steady state for a given system described by a xcos diagram or sub-diagram. The diagram should have inputs and outputs.The steady state concern only the continuous-time dynamics. + + + + Examples + + + + Arguments + + + + scs_m : a xcos data structure + + + + + X: column vector. Continuous state. Can be set to [] if zero. + + + + + U: column vector. Input. Can be set to [] if zero. + + + + + Y: column vector. Output. Can be set to [] if zero. + + + + + Indx : index of entries of X that are not fixed. If all can vary, set to 1:$ + + + + + Indu : index of entries of U that are not fixed. If all can vary, set to 1:$ + + + + + Indy : index of entries of Y that are not fixed. If all can vary, set to 1:$ + + + + + Indxp : index of entries of XP (derivative of x) that need not be zero. If all can vary, set to 1:$. Default []. + + + + + param : list with two elements (default list(1.d-6,0)). param(1): scalar. Perturbation level for linearization; the following variation is used del([x;u])_i = param(1)+param(1)*1d-4*abs([x;u])_i. param(2): scalar. Time t. + + + + + X: steady state X + + + + + U: stationary input U + + + + + Y: output corresponding to steady state found + + + + + XP : derivative of the state corresponding to steady state found + + + + + + File content + + + SCI/modules/scicos/macros/scicos_auto/steadycos.sci + + + + + See Also + + + + lincos - Constructs by linearization a linear state-space model from a general dynamical system described by a xcos diagram (Scilab Function) + + + + + scicos_simulate - Function for running xcos simulation in batch mode (Scilab Function) + + + + + xcos - Block diagram editor and GUI for the hybrid simulator (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/batch_functions/xcosValidateBlockSet.xml b/modules/xcos/help/en_US/batch_functions/xcosValidateBlockSet.xml new file mode 100755 index 000000000..108ae8173 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/xcosValidateBlockSet.xml @@ -0,0 +1,80 @@ + + + + xcosValidateBlockSet + Function to validate Xcos Block interface function. + + + Calling Sequence + [status, message] = xcosValidateBlockSet(interfFunctionName) + + + Arguments + + + interfFunctionName: A Xcos block interface function name. + + + + + + Module + + + + xcos + + + + + + Description + This function is used to test if a Block interface function will not + fail while called by xcos simulation process. + + + Function will try to perform a define then a set job + on the given interface function name like the xcos simulation do. + Function override some configuration functions: getvalue, x_mdialog, ... + + + + File content + + + SCI/modules/xcos/macros/xcosValidateBlockSet.sci + + + + + Examples + + + + + + See Also + + + scs_m structure + + + xcos: Block diagram editor and GUI for the hybrid simulator + + + + + History + + + 5.4.0 + Function xcosValidateBlockSet introduced. + + + + diff --git a/modules/xcos/help/en_US/batch_functions/xcosValidateCompareBlock.xml b/modules/xcos/help/en_US/batch_functions/xcosValidateCompareBlock.xml new file mode 100755 index 000000000..1fbe487bc --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/xcosValidateCompareBlock.xml @@ -0,0 +1,84 @@ + + + + xcosValidateCompareBlock + Function to compare two Xcos Blocks. + + + Calling Sequence + [status, message] = xcosValidateCompareBlock(block1, block2) + + + Arguments + + + block1: A Xcos block. + + + block2: A Xcos block. + + + + + Module + + + + xcos + + + + + + Description + This function is used to compare two Blocks. + + + Function will go through each block field and compare the two values. + The function returns true if the two blocks are equal, false otherwise. + message will contain some information about non-homogeneous fields. + + + + File content + + + SCI/modules/xcos/macros/xcosValidateCompareBlock.sci + + + + + Examples + + + + + + See Also + + + scs_m structure + + + xcos: Block diagram editor and GUI for the hybrid simulator + + + + + History + + + 5.4.0 + Function xcosValidateCompareBlock introduced. + + + + diff --git a/modules/xcos/help/en_US/batch_functions/xcos_simulate.xml b/modules/xcos/help/en_US/batch_functions/xcos_simulate.xml new file mode 100755 index 000000000..c3ca73321 --- /dev/null +++ b/modules/xcos/help/en_US/batch_functions/xcos_simulate.xml @@ -0,0 +1,280 @@ + + + + xcos_simulate + Function for running xcos simulation in batch mode + + + Calling Sequence + Info=xcos_simulate(scs_m, needcompile) + + + Arguments + + + scs_m: A diagram data structure (see scs_m structure). + + + + needcompile: An integer. If it equals 4, + then the simulator will perform a complete compilation of the diagram. + If not, it will use cached value of %cpr. DEPRECATED + + + + + Module + + + + xcos + + + + + + Description + This function is used to simulate xcos diagrams in batch + mode. It requires the scs_m + structure + + which can be obtained by loading in Scilab the + .zcos file (see + importXcosDiagram + + ). + + + User can also define pre_xcos_simulate + function that will run before simulation. + + If this function fails the error will be trapped and the simulation aborted. + If continueSimulation is set to false, the simulation will stop. + + + User can also define post_xcos_simulate + function that will run after simulation. + + If this function fails the error will be trapped. + + + + File content + + + SCI/modules/xcos/macros/xcos_simulate.sci + + + + + Examples + + The xcos diagram in SCI/modules/xcos/demos/batch_simulation.zcos. + + + + + + Simulate this diagram in batch mode and change some context values. + + + + Statistic analysis of the diagram using pre_xcos_simulate function. + + + + The xcos diagram: SCI/modules/xcos/demos/Command.zcos + + + + + + Simulate this diagram in batch mode and perform bode plotting of transfert function using post_xcos_simulate, + + + + The xcos diagram: SCI/modules/xcos/demos/Command_bode.zcos + + + + + + Simulate this diagram in batch mode and perform bode plotting of transfert function using post_xcos_simulate, + + + + + See Also + + + scs_m structure + + + importXcosDiagram + + + scicosim: xcos batch simulation function + + + xcos: Block diagram editor and GUI for the hybrid simulator + + + steadycos: Finds an equilibrium state of a Xcos diagram + + + lincos: Constructs by linearization a linear state-space model from a Xcos diagram + + + + diff --git a/modules/xcos/help/en_US/palettes/Annotations_pal/AA_Annotations_pal.xml b/modules/xcos/help/en_US/palettes/Annotations_pal/AA_Annotations_pal.xml new file mode 100755 index 000000000..1bc404657 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Annotations_pal/AA_Annotations_pal.xml @@ -0,0 +1,64 @@ + + + + + Annotations_pal + Annotations palette + + + Block Screenshot + + + + + + + + + + Module + + + + xcos + + + + + + Description + This palette includes blocks used for annotations. + + + Blocks + + + + TEXT_f - Free annotation + + + + + diff --git a/modules/xcos/help/en_US/palettes/Annotations_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Annotations_pal/CHAPTER new file mode 100755 index 000000000..76a2cbea3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Annotations_pal/CHAPTER @@ -0,0 +1 @@ +title = Annotations palette diff --git a/modules/xcos/help/en_US/palettes/Annotations_pal/TEXT_f.xml b/modules/xcos/help/en_US/palettes/Annotations_pal/TEXT_f.xml new file mode 100755 index 000000000..877e937f6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Annotations_pal/TEXT_f.xml @@ -0,0 +1,242 @@ + + + + + TEXT_f + Free annotation + + + Block Screenshot + + + + + + + + + + Contents + + + + Free annotation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Annotations palette + + + + + + Description + + This special block is only used to add text at any point of the diagram window. It has no effect on the simulation. + + + You can add this block directly by a mouse double click in a free part of the diagram. + + + After addition, double click on the block and write your text. If you want more control on the text (font type, size or colors), + a mouse right click shows a pop-up menu. Select the sub-menu item Edit... of the Format menu item. + This item open the tabbed dialog below where you can set the text parameters. + + + Note : the following GUI is also used to modify comment text and appearance of the blocks and links. + + + + Dialog box + + + + + + + + + + + + + + + + + Text tab + + + In this tab, you can modify your text and its appearance with the font size, family and style. You can also use + some HTML tags to control you text displaying. Starting from Scilab 5.2, it is also + possible to write LaTeX or MathML expressions. + + + + + Colors tabs + + + The use of these tabs is the same for the text, border or fill colors. You can set the color with four methods : + + + + HSV colors (hue, saturation, value). + + + RGB colors (red, green, blue). + + + HTML color : color in the form of a string of three hexadecimal numbers with two digits (RRGGBB) preceded by the character "#". + + + HSV color wheel : move the little white segment around the circle to set hue, and move the little circle to set the saturation and value. + + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + text + + + + + + Example + + The figure below shows some examples of text annotations. The first shows the result obtained with a LaTeX + expression, the second the text is an ordered HTML list. + + Open this example in Xcos + + and select Format then Edit... in the pop-up menu to change the text parameters. + + + + + + + + + + See also + + + Math rendering + + + + diff --git a/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml new file mode 100755 index 000000000..09e9d10ba --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml @@ -0,0 +1,249 @@ + + + + + Commonlyusedblocks_pal + Commonly used blocks palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + In the Commonly used blocks palette, you can find blocks from other + palettes that most models use. + + + + Blocks + + + + ANDBLK - Activation and + + + + + BIGSOM_f - Sum + + + + + CMSCOPE - Multi display scope + + + + + CONST_m - Constant + + + + + CONVERT - CONVERT Data Type + Conversion + + + + + + CSCOPXY - y=f(x) permanent viewer + + + + + DEMUX - Demultiplexer + + + + + DOLLAR_f - Delay operator + + + + + INTEGRAL_f - Integration + + + + + IN_f - Input Port + + + + + LOGICAL_OP - Logical operation + + + + + MUX - Multiplexer + + + + + NRMSOM_f - Merge data + + + + + OUT_f - Output Port + + + + + PRODUCT - Product + + + + + RELATIONALOP — Relational + operation + + + + + + SATURATION - Saturation + + + + + SWITCH2_m - Switch2 + + + + + TEXT_f - Text + + + + + diff --git a/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/CHAPTER new file mode 100755 index 000000000..fd97b34f5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/CHAPTER @@ -0,0 +1 @@ +title = Commonly used blocks palette diff --git a/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml new file mode 100755 index 000000000..5b7dce088 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml @@ -0,0 +1,240 @@ + + + + + LOGICAL_OP + Logical operation + + + Block Screenshot + + + + + + + + + + Contents + + + + Logical operation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Commonly used blocks palette + + + + + + Description + + The Logical Operator block performs the specified logical operation on + its inputs. An input value is TRUE (1) if it is nonzero and FALSE (0) + if it is zero. + + + + + Dialog box + + + + + + + + + + + + + + Number of inputs + + The number of block inputs. The value must be appropriate for the selected operator. + Properties : Type 'vec' of size 1 + + + + Operator: AND + + The logical operator to be applied to the block inputs. Valid choices are the operators from the list. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + logicalop + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/LOGICAL_OP.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/logicalop.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i32.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i16.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i8.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui32.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui16.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui8.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml new file mode 100755 index 000000000..bab3fd204 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml @@ -0,0 +1,238 @@ + + + + + RELATIONALOP + Relational operation + + + Block Screenshot + + + + + + + + + + Contents + + + + Relational operation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Commonly used blocks palette + + + + + + Description + + It performs logical comparison of its two inputs. + + + + + Dialog box + + + + + + + + + + + + + + Operator: == + + Designate the relational operator used to compare the two inputs. + Properties : Type 'vec' of size 1 + + + + Use zero crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + relationalop + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/RELATIONALOP.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/relational_op.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i32.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i16.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i8.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui32.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui16.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui8.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/AA_Continuous_pal.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/AA_Continuous_pal.xml new file mode 100755 index 000000000..ef10e07c5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/AA_Continuous_pal.xml @@ -0,0 +1,162 @@ + + + + + Continuous_pal + Continuous time systems palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Continuous time systems palette includes basic linear blocks . + + + Blocks + + + + 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 + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Continuous_pal/CHAPTER new file mode 100755 index 000000000..2b30115b3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/CHAPTER @@ -0,0 +1 @@ +title = Continuous time systems palette diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/CLINDUMMY_f.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/CLINDUMMY_f.xml new file mode 100755 index 000000000..228aad136 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/CLINDUMMY_f.xml @@ -0,0 +1,157 @@ + + + + + CLINDUMMY_f + Dummy + + + Block Screenshot + + + + + + + + + + Contents + + + + Dummy + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Continuous time systems palette + + + + + + Description + + This block should be placed in any block diagram that contains a + zero-crossing block but no system with continuous state. The reason + for that is that it is the ode solver that find zero crossing + surfaces. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cdummy + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/CLINDUMMY_f.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/CLR.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/CLR.xml new file mode 100755 index 000000000..2aedb3113 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/CLR.xml @@ -0,0 +1,220 @@ + + + + + CLR + Continuous transfer function + + + Block Screenshot + + + + + + + + + + Contents + + + + Continuous transfer function + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Continuous time systems palette + + + + + + Description + + This block realizes a SISO linear system represented by its rational transfer function + Numerator/Denominator. The rational function must be + proper (denominator degree must be less or equal to numerator degree). + + + + Dialog box + + + + + + + + + + + + + + Numerator + + This parameter sets the numerator of the transfer function. + This must be a polynomial in s. + Properties : Type 'pol' of size 1. + + + + Denominator + + This parameter sets the denominator of the transfer function. + This must be a polynomial in s. + Properties : Type 'pol' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csslti4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/CLR.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/CLSS.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/CLSS.xml new file mode 100755 index 000000000..a38c182b1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/CLSS.xml @@ -0,0 +1,383 @@ + + + + + CLSS + Continuous state-space system + + + Block Screenshot + + + + + + + + + + Contents + + + + Continuous state-space system + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + Example + + + + + + + + Palette + + + + Continuous time systems + palette + + + + + + + Description + This block realizes a continuous-time linear state-space + system. + + + + \begin{matrix} + \dot{x} = A \cdot x + B \cdot u \\ + y = C \cdot x + D \cdot u + \end{matrix} + + + + where x is the vector of state + variables, u is the vector of input + functions and y is the vector of output + variables. + + + The system is defined by the (A, B, C, D) matrices and the initial state X0. + The dimensions must be compatible. + + + + Dialog box + + + + + + + + + + + A matrix + + A square matrix. + Properties : Type 'mat' of size [-1,-1]. + + + + B matrix + + + The B matrix, [] if system has no input. + + Properties : Type 'mat' of size ["size(%1,2)","-1"]. + + + + C matrix + + + The C matrix , [] if system has no output. + + Properties : Type 'mat' of size ["-1","size(%1,2)"]. + + + + D matrix + + + The D matrix, [] if system has no D term. + + Properties : Type 'mat' of size [-1,-1]. + + + + Initial state + + A vector/scalar initial state of the system. + Properties : Type 'vec' of size "size(%1,2)". + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + yes + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + csslti4 + + + + + + Example + This sample example illustrates how to use CLSS block to simulate + and display the output waveform y(t)=Vc(t) of the RLC circuit shown below. + + + + + + + + + The equations for an RLC circuit are the following. They result from + Kirchhoff's voltage law and Newton's law. + + + + + The R, L and C are the system's resistance, inductance and + capacitor. + + + We define the capacitor voltage Vc and the + inductance current iL as the state variables + X1 and X2. + + + + + thus + + x_1 = i_L = C\frac{\mathrm{d} v_C }{\mathrm{d} t} = C\dot{x_2} + + Rearranging these equations we get: + + + + These equations can be put into matrix form as follows, + + + + The required output equation is + + + + The following diagram shows these equations modeled in Xcos where + R=10Ω, L=5 mΗ and C=0.1µF; the initial states are x1=0 and x2=0.5. + + To obtain the output Vc(t) we use CLSS block from Continuous time + systems Palette. + + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/CLSS.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/DERIV.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/DERIV.xml new file mode 100755 index 000000000..75fc80817 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/DERIV.xml @@ -0,0 +1,231 @@ + + + + + DERIV + Derivative + + + Block Screenshot + + + + + + + + + + Contents + + + + Derivative + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Continuous time systems + palette + + + + + + + Description + The Derivative block approximates the instantaneous derivative of + its input with respect to time t. + + + $$ + y(t) = {u(t) - u(t-h)} over h + $$ + + The derivative block has no setting and the initial output for the + block is zero. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [-1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + deriv + + + + + + Example + In this example, we compute and display the derivative waveform of a + sinusoidal input signal, with amplitude 2 and frequency 1.25 Hz. + + The input and output waveforms of the DERIVATIVE block are shown + below: + + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/DERIV.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/deriv.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_f.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_f.xml new file mode 100755 index 000000000..cb9ec3310 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_f.xml @@ -0,0 +1,221 @@ + + + + + INTEGRAL_f + Integration + + + Block Screenshot + + + + + + + + + + Contents + + + + Integration + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Continuous time systems palette + + + + + + Description + This block is an integrator. The output is the integral of the + input. + + + + Dialog box + + + + + + + + + + + + Initial Condition + + A scalar that gives the initial condition. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + yes + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + integr + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/integr.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_m.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_m.xml new file mode 100755 index 000000000..f57a95da3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/INTEGRAL_m.xml @@ -0,0 +1,346 @@ + + + + + INTEGRAL_m + Integration + + + Block Screenshot + + + + + + + + + + Contents + + + + Integration + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Examples + + + + + + + + Palette + + + + Continuous time systems + palette + + + + + + + DescriptionThis block is an integrator. The output y is the integral of the + input u at the current time step t. + + + + + + + + + + Where y0 is an initial condition and t0 is its corresponding time. + + + Dialog box + The parameter dialog box allows you to define: + + + The initial condition with or without saturation limit. + + + + + The upper and lower limits on the integral. + + + The dialog box also allows you to add an event port to the block in order to + reset its state to a specified initial condition. + + If ”reinitialization” is selected the following yields: + + + The value to be integrated shall be connected to the integral block + port number 1. (the port in the upper left corner of the integral block) + + + + + + The value that the integrator shall initate to, at each trigger + signal on the redly marked trigger port, shall be connected to the integral + block port number 2. (the port in the lower left corner of the integral block). + + + + + + + + + + + + + + + + Initial Condition + + A vector/scalar initial conditions. + With that parameter, one can define the datatype of the + input/output. It can be a real or a complex type. + + Properties : Type 'mat' of size [-1,-1]. + + + + With reinitialization + + To reset its state to the specified initial condition based on + an external signal select1 . + + Properties : Type 'vec' of size 1. + + + + With saturation + + If selected, limits the states to a value between the Lower + saturation limit and Upper saturation limit parameters. + + Properties : Type 'vec' of size 1. + + + + Upper limit + + The upper limit for the integral. + Properties : Type 'mat' of size [-1,-1]. + + + + Lower limit + + The lower limit for the integral. + Properties : Type 'mat' of size [-1,-1]. + + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + yes + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + integral_func + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/integral_func.c + + + SCI/modules/scicos_blocks/src/c/integralz_func.c + + + + + Examples + + Example 1 + This sample model demonstrates how to use the integrator's state + port. + + The reinitialization parameter is set to 1, the Upper limit to 1 + and the lower limit to -1. + + + + + + + + + + + + + + + Example 2 + + + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/PID.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/PID.xml new file mode 100755 index 000000000..b77053142 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/PID.xml @@ -0,0 +1,369 @@ + + + + + PID + PID regulator + + + Block Screenshot + + + + + + + + + + Contents + + + + PID regulator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing function + + + + + Compiled Super Block content + + + + + Examples + + + + + + + + Palette + + + + Continuous time systems + palette + + + + + + + Description + This block implements a PID (Proportional-Integral-Differential) + controller. It calculates an "error" value Ue as the difference between a + measured process variable Upr and a desired setpoint Ur. + + + + + + + + + The purpose is to make the process variable Up follow the setpoint + value Ur. The PID controller is widely used in feedback control of + industrial processes. + + The PID controller calculation (algorithm) involves three separate + parameters; the Proportional Kp, the Integral Ki and Derivative Kd values. + These terms describe three basic mathematical functions applied to the + error signal Ue. Kp determines the reaction to the current error, Ki + determines the reaction based on the sum of recent errors and Kd + determines the reaction to the rate at which the error has been + changing. + + The weighted sum of these three actions is used to adjust the + process via a control element such as the position of a control valve or + the power supply of a heating element. The basic structure of conventional + feedback control systems is shown below: + + + + + + + + + PID law is a linear combination of an input variable Up(t), its time + integral Ui(t) and its first derivative Ud(t). The control law Ucon(t) has + the form: + + + + + + + + + + + Dialog box + + + + + + + + + + + + Proportional + + The value of the gain that multiply the error. + Properties : Type 'vec' of size -1. + + + + Integral + + The value of the integral time of the error.(1/Integral) + Properties : Type 'vec' of size -1. + + + + Derivation + + The value of the derivative time of the error. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/PID.sci + + + + + Compiled Super Block content + + + + + + + + + + Examples + + Example 1 + This example illustrates the usage of PID regulator. It enables you + to fit the output signal Upr(t) to the required signal Ur(t) + easily. + + In this example the control system is a second-order unity-gain + low-pass filter with damping ratio ξ=0.5 and cutoff frequency fc= 100 Hz. + Its transfer function H(s) is: + + + + + + + + + To model this filter we use Continuous transfer function block (CLR) + from Continuous time systems Palette. + + The PID parameters Kp, Ki and Kd are set to 100, 0.1 and 0. + + + + + + + + The scope displays the waveforms of system error Ue (black), + reference signal Ur (blue) and process signal Upr(red). It shows how + initially the process signal Upr(t) does not follow the reference signal + Ur(t). + + + + + + + + + + + + + + Example 2 + + + + + + + + + + + + + Example 3 + + + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/TCLSS.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/TCLSS.xml new file mode 100755 index 000000000..8754915ba --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/TCLSS.xml @@ -0,0 +1,265 @@ + + + + + TCLSS + Continuous linear system with jump + + + Block Screenshot + + + + + + + + + + Contents + + + + Continuous linear system with jump + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Continuous time systems palette + + + + + + Description + + This block realizes a continuous-time linear state-space system with the possibility of jumps in the state. The number of inputs to this block is two. The first input is the regular input of the linear system, the second carries the new value of the state which is copied into the state when an event arrives at the unique event input port of this block. That means the state of the system jumps to the value present on the second input (of size equal to that of the state). The system is defined by the (A,B,C,D) matrices and the initial state x_0. The dimensions must be compatible. The sizes of inputs and outputs are adjusted automatically. + + + + Dialog box + + + + + + + + + + + + + + A matrix + + + A square matrix. + + Properties : Type 'mat' of size [-1,-1]. + + + + B matrix + + + The B matrix, [] if system has no input. + + Properties : Type 'mat' of size ["size(%1,2)","-1"]. + + + + C matrix + + + The C matrix , [] if system has no output. + + Properties : Type 'mat' of size ["-1","size(%1,2)"]. + + + + D matrix + + + The D matrix, [] if system has no D term. + + Properties : Type 'mat' of size [-1,-1]. + + + + Initial state + + A vector/scalar initial state of the system. + Properties : Type 'vec' of size "size(%1,2)". + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + tcslti4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/TCLSS.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/tcslti4.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/TIME_DELAY.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/TIME_DELAY.xml new file mode 100755 index 000000000..240f156e5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/TIME_DELAY.xml @@ -0,0 +1,248 @@ + + + + + TIME_DELAY + Time delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Time delay + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Continuous time systems palette + + + + + + Description + + The Transport Delay block delays the input by a specified amount of + time. It can be used to simulate a time delay. At the start of the + simulation, the block outputs the Initial input parameter until the + simulation time exceeds the Time delay parameter, when the block + begins generating the delayed input. + + + The Time delay parameter must be non-negative. + + + + + Dialog box + + + + + + + + + + + + + + Delay + + The amount of simulation time that the input signal is delayed before being propagated to the output. The value must be nonnegative. + Properties : Type 'vec' of size 1 + + + + Initial input + + The output generated by the block between the start of the simulation and the Time delay. + Properties : Type 'vec' of size 1 + + + + Buffer size + + The initial memory allocation for the number of points to store. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + time_delay + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/TIME_DELAY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/time_delay.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Continuous_pal/VARIABLE_DELAY.xml b/modules/xcos/help/en_US/palettes/Continuous_pal/VARIABLE_DELAY.xml new file mode 100755 index 000000000..b2d7a4cb8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Continuous_pal/VARIABLE_DELAY.xml @@ -0,0 +1,305 @@ + + + + + VARIABLE_DELAY + Variable delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Variable delay + + + + + + + Palette + + + + + Description + + + + + Dialog + box + + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + Example + + + + + + + + Palette + + + + Continuous time systems + palette + + + + + + + Description + The Variable Transport Delay block can be used to simulate a + variable time delay between an action and its effect. The block might be + used, for example, to model a system with a pipe where the speed of a + motor pumping fluid in the pipe is variable. + + The block accepts two inputs and one output: the first input is the + signal u(t) that passes through the block (data input); the second input + is the variable time delay τ(t). + + + + + + + + + At the current time step t, the block outputs the delayed data input + u(θ) where θ is the current simulation time t minus the time delay + parameter τ. + + The equation of the output signal is: + + y(t) = y(θ) - u(t - τ(t)) + + + + Dialog box + + + + + + + + + + + + Max delay + + It defines the largest value the time delay input can have. The + value cannot be negative. + + Properties : Type 'vec' of size 1. + + + + Initial input + + The output generated by the block until the simulation time + first exceeds the time delay input. If it is not set to the + y(τ) value, a linear approximation will be calculated between + the initial input at t0 and the y(τ) value. + + Properties : Type 'vec' of size 1. + + + + Buffer size + + The number of points the block can store. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + - port 2 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + variable_delay + + + + + + Example + In this example, the max time delay in the Block Parameters dialog + box is set to 4. The input signal is a sine wave with amplitude 1 and + frequency 0.2 Hz. + + The constant block is set to 2 to introduce a delay of 2 second. The + input and output waveforms of the VARIABLE_DELAY block are shown + below: + + + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/VARIABLE_DELAY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/variable_delay.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AA_Demonstrationsblocks_pal.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AA_Demonstrationsblocks_pal.xml new file mode 100755 index 000000000..49fa82b0b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AA_Demonstrationsblocks_pal.xml @@ -0,0 +1,97 @@ + + + + + Demonstrationsblocks_pal + Demonstrations blocks palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Demonstrations blocks palette contains blocks used in some Xcos + demonstration diagrams. + + + + Blocks + + + + AUTOMAT — hybrid automata + + + + + BOUNCE - Balls coordinates generator + + + + + BOUNCEXY — Balls viewer + + + + + BPLATFORM — Balls under a platform + viewer + + + + + + PDE — 1D PDE block + + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AUTOMAT.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AUTOMAT.xml new file mode 100755 index 000000000..a4ac78ee2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/AUTOMAT.xml @@ -0,0 +1,350 @@ + + + + + AUTOMAT + automata (finite state machine) + + + Block Screenshot + + + + + + + + + + Contents + + + + automata (finite state machine) + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + + + + Palette + + + + Demonstrations blocks palette + + + + + + Description + + This block gives the possibility to construct hybrid automata, i.e., a + hybrid system whose discrete part is defined via modes and transitions + between modes, and the continuous part is defined via DAE (differential algebraic equations). + + + The automaton block provides a switching mechanism between subsystems + corresponding to control modes of an automaton. Subsystems are + constructed in such a way that they have the state vector as input ( + coming from the automaton block) and compute the flow and jump + functions (zero-crossing) and pass them back to the automaton + block. The state variables are defined in the automaton block and the + subsystems are static functions. + + + Suppose that a hybrid automaton consists of M + control + modes. The continuous-time dynamics in mode is defined with DAE + ($0 = F_i(\dot{x}, x, u)$ + ) where i is in [1 .. M] + and the dimension + of x is N (N ≥ 0) for any i in [1 .. M]. Suppose that in + control mode i, there are $Z_i$ jump conditions indicating jumps toward other modes. The jump conditions are defined by + functions $\mathrm{Jump}_{i,j}(\dot{x}, x, u)$ where + j is in [1 .. $Z_i$]. + + + When a jump function changes sign and becomes positive, a mode + transition will happen. When k-th transition function becomes positive, a transition to mode k happens and state vector x is reset to : $\mathrm{Reset}_{k}(\dot{x}, x, u)$ for i.e., $x_l = \mathrm{Reset}_{k,l}(\dot{x}, x, u) \mathrm{for} l \in \{1...N\} $. + + + In order to develop an automaton containing a mode with multiple + reset functions, the value of the current and previous active modes + should be used. These values are available at the first output port + of the block. + + + The automaton block has the following input/output ports. + + + + + Output 1: The first output port is a vector of size two consisting of the current and the previous active control modes, i.e., $\mathrm{out}_1 = [\mathrm{current mode}, \mathrm{previous mode}]^t$. + + + + + Output 2: The second output port is a vector of size 2N providing the state vector and its first time derivative, $[x,\dot{x}]^t$. + + + + + Inputs: The automaton block has M vector input ports corresponding to M modes or subsystems of the automaton. Each input defines the dynamic behavior in the control each mode as well as the reset functions and the transition functions. The input port i which is the output of the i-th subsystem is a vector of size 2N+$Z_i$. Each input is composed of the following vector. + + $$ + \mathrm{Input}_i = [F_i(\dot{x}, x, u), \mathrm{Reset}_i(\dot{x}, x, u), \mathrm{Jump}_i(\dot{x}, x, u)] ^ t + $$ + + + + + The first N elements of the Input_i are the continuous-time dynamics. The dynamics of the system in the control mode i is described by a smooth index-1 DAE $0 = F_i(\dot{x}, x, u, t)$. + + + + + + + The next N elements of Input_i are the values used to + reset the continuous-time state when a transition to + control mode i + is activated. + + + + + The next Z_i elements of Input_i are the jump or + zero-crossing functions. If the j-th + zero-crossing function of + mode i + crosses zero with negative to positive direction, a + transition to j-th + destination mode happens. + + + + + + + Event Output: This is an event output port, which is activated whenever a mode transition happens. This event is useful when an event is needed to activate or initialize a part of the subsystem not included in the internal dynamics of the automaton block. + + + + + In the interface window, the number of control modes, the initial + control mode and the initial value of continuous-time state at the + beginning of the simulation should be given. + + + + Dialog box + + + + + + + + + + + + + + Number of (finite-state) Modes + + Number of modes in the automation. + Properties : Type 'vec' of size [1,1]. + + + + Initial Mode + + Initial active mode at the beginning of the simulation. + Properties : Type 'vec' of size [1,1]. + + + + Number of continuous-time states Number of continuous-time states at modes. Note that the number of continuous-time states is the same in all modes. + + Properties : Type 'vec' of size [-1,1]. + + + + Continuous-time states initial values + + Initial value of continuous-time states at the beginning of the simulation. + Properties : Type 'vec' of size [-1,1]. + + + + Xproperties of continuous-time states in each Mode + + + In this field the state types in mode are given. A state in an index 1 DAE can be either differential state or algebraic state. vector is coded in an M*N matrix, where M is the number of modes and N is the number of states. This matrices indicates whether a continuous-time state is algebraic or differential in each control mode. If in the i-th mode,j-th state is differential, the (i,j)-th element of the Xproperty matrix should set to "+1", otherwise it should set to "-1". Xproperty can be given as a 1*N vector if type of states remain the same in all modes. + + Properties : Type 'mat' of size [-1,-1]. + + + + Jump from Mode 1:[..;M_final(Guard=In(1).i);..] + + + The fields express the mode transition information. Suppose that all control modes are labeled from 1 to M. Then, in the field corresponding to control modei , destination modes of modei are defined in a vector.j-th element of this vector gives the destination mode whenj-th jump function : + + + becomes positive. For example, if in the field of the mode2 , the user defines [1;3;4], it means that in mode2 , there are three active jump functions. When, for example, the third jump function becomes positive, a mode transition to mode4 will be activated. + + Properties : Type 'vec' of size [-1,1]. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [3,1] / type 1 + + + - port 2 : size [3,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [2,1] / type 1 + + + - port 2 : size [2,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + automat + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/AUTOMAT.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/automat.c (Type 10004) + + + + + + References + + "Modeling Hybrid Automata in Scicos", Masoud Najafi, Ramine Nikoukhah, 2007 IEEE. + Multi-conference on Systems and Control, Singapore + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCE.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCE.xml new file mode 100755 index 000000000..4dd1e3417 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCE.xml @@ -0,0 +1,267 @@ + + + + + BOUNCE + Balls coordinates generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Balls coordinates generator + + + + + + + Palette + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Demonstrations blocks palette + + + + + + Dialog box + + + + + + + + + + + + + + Mass + + The parameter description 1. + Properties : Type 'vec' of size -1. + + + + Radius + + The parameter description 2. + Properties : Type 'vec' of size -1. + + + + [xmin,xmax,ymin,ymax] + + The parameter description 3. + Properties : Type 'vec' of size -1. + + + + xpos + + The parameter description 4. + Properties : Type 'vec' of size -1. + + + + xdpos + + The parameter description 5. + Properties : Type 'vec' of size -1. + + + + ypos + + The parameter description 6. + Properties : Type 'vec' of size -1. + + + + ydpos + + The parameter description 7. + Properties : Type 'vec' of size -1. + + + + g (gravity) + + The parameter description 8. + Properties : Type 'vec' of size 1. + + + + C (aerodynamic coeff + + The parameter description 9. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [2,1] / type 1 + + + - port 2 : size [2,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + bounce_ball + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/BOUNCE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/bounce_ball.c (Type 4) + + + + + BOUNCE example: + + + + + + + + + + See Also + + + BOUNCEXY + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCEXY.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCEXY.xml new file mode 100755 index 000000000..162f4c435 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BOUNCEXY.xml @@ -0,0 +1,274 @@ + + + + + BOUNCEXY + Balls viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + Balls viewer + + + + + + + Palette + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Demonstrations blocks + palette + + + + + + + Dialog box + + + + + + + + + + + + colors + + The parameter description 1. + Properties : Type 'vec' of size -1. + + + + radii + + The parameter description 2. + Properties : Type 'vec' of size -1. + + + + window number (-1 for automatic) + + The parameter description 3. + Properties : Type 'vec' of size 1. + + + + animation mode (0,1) + + The parameter description 4. + Properties : Type 'vec' of size 1. + + + + Xmin + + The parameter description 5. + Properties : Type 'vec' of size 1. + + + + Xmax + + The parameter description 6. + Properties : Type 'vec' of size 1. + + + + Ymin + + The parameter description 7. + Properties : Type 'vec' of size 1. + + + + Ymax + + The parameter description 8. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: yes + + + + + object discrete-time state: + no + + + + + name of computational function: + bouncexy + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/BOUNCEXY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/bouncexy.c (Type 4) + + + + + BOUNCEXY example: + + + + + + + + + + See Also + + + BOUNCE + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BPLATFORM.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BPLATFORM.xml new file mode 100755 index 000000000..1f45003e3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/BPLATFORM.xml @@ -0,0 +1,178 @@ + + + + + BPLATFORM + Balls under a platform viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + Balls under a platform viewer + + + + + + + Palette + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Demonstrations blocks palette + + + + + + Dialog box + + + + + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + bplatform2 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/BPLATFORM.sci + + + + + BPLATFORM example: + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/CHAPTER new file mode 100755 index 000000000..ebff39a5e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/CHAPTER @@ -0,0 +1 @@ +title = Demonstrations blocks palette diff --git a/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/PDE.xml b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/PDE.xml new file mode 100755 index 000000000..a52866cfc --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Demonstrationsblocks_pal/PDE.xml @@ -0,0 +1,291 @@ + + + + + PDE + 1D PDE block + + + Block Screenshot + + + + + + + + + + Contents + + + + 1D PDE block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Demonstrations blocks palette + + + + + + Description + + This block is an implementation of several numerical schemes (Finite Elements (1st and 2nd order), + Finite Differences (1st and 2nd order), Finite Volumes (1st order)) to solve mono-dimensional + PDE (Partial Differential Equation) within Xcos. + The mathematical framework is restricted to PDEs linear scalars with maximum order 2 in time and space. + The goal is to provide engineers and physicists with an easy-to-use toolbox in Xcos that will let them + graphically describe the PDE to be solved. A decision system selects the most efficient numerical scheme + depending on the type of the PDE and runs the solver. + + + + Dialog box + + + + + + + + + + + + + + Domain + + a and b : (double) The two edges of the discretization field. + + + + PDE specification + + + + Check boxes to select the PDE operators. + ai(x), bi(t) (i=1:7) are the operator coefficients. + + + Discriminant type : constant or variable, in the + later case, the sign should be given. + + + + + + Discretization method + + + + Choice (check box) : is the choice for the manual or the automatic mode. + + + Type : in the manual mode we can give the method type + (Finite differences, finite elements or finite volumes). + + + Degree : method degree (1 or 2 for the FD and FE methods, + 1 for the FV method). + + + Number of nodes : to give the number of the nodal points. + + + + + + Initial Conditions + + u(x,t0)=, du/dt at t0= : to give the initial conditions. + + + + Boundary condition on a + + + + Type : two types of boundary conditions are possible : Dirichlet or Neumann. + + + Expression : to give the boundary conditions expression. + + + + + + Measurement points + + To give the list of measurement points. + + + + Name + + A getvalue box to give the block's name. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 0 + + + - port 3 : size [1,1] / type 0 + + + - port 4 : size [1,1] / type 0 + + + - port 5 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [10,1] / type 1 + + + - port 2 : size [0,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + PDE + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/PDE/PDE.sci + + + + + Computational functions + + + SCI/modules/scicos_blocks/macros/PDE/ + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml new file mode 100755 index 000000000..49f7b1448 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml @@ -0,0 +1,125 @@ + + + + + discontinuities_pal + discontinuities palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + discontinuities palette includes blocks whose outputs are + discontinuities functions of their inputs. + + + + Blocks + + + + BACKLASH - Backlash + + + + + DEADBAND - Deadband + + + + + DELAYV_f — Variable time delay + + + + + HYSTHERESIS — Hystheresis + + + + + RATELIMITER - Rate limiter + + + + + QUANT_f - Quatization + + + + + SATURATION — Saturation + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/BACKLASH.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/BACKLASH.xml new file mode 100755 index 000000000..76aabf1b5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/BACKLASH.xml @@ -0,0 +1,249 @@ + + + + + BACKLASH + Backlash + + + Block Screenshot + + + + + + + + + + Contents + + + + Backlash + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + discontinuities palette + + + + + + Description + + The block Backlash allows the representation of a system presenting a mechanical play like system of gearings. + When the input increases (decreases), changes of the input of the block Backlash + give equal changes of its output. When the input changes direction, the system + is disengaged during a short moment (the play is called + deadband + + or gap). + Therefor, at the initial moment of the change, the input has no effect and the output + remains constant. Then, changes of the input give equal changes on the output up to + the next change of direction of the input. + + + + Dialog box + + + + + + + + + + + + + + Initial output + + The initial output value. + Properties : Type 'vec' of size 1 + + + + Gap + + The width of the dead-band. + Properties : Type 'vec' of size 1 + + + + Use zero-crossing + + Select to enable use of zero crossing detection to detect engagement with lower and upper thresholds. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + backlash + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/BACKLASH.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/backlash.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Discontinuities_pal/CHAPTER new file mode 100755 index 000000000..101f80d57 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/CHAPTER @@ -0,0 +1 @@ +title = Discontinuities palette diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/DEADBAND.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/DEADBAND.xml new file mode 100755 index 000000000..d0d1a6bc9 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/DEADBAND.xml @@ -0,0 +1,305 @@ + + + + + DEADBAND + Deadband + + + Block Screenshot + + + + + + + + + + Contents + + + + Deadband + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Example + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Discontinuities + palette + + + + + + + Description + The Dead Band block provides a region of zero output. + It's a range of inputs for which the output remains unchanged. + Outside that range there is a linear relationship between the deadband + input u(k) and the dead band output v(k). + + Below is shown a graph of a particular deadband: + + + + + + + + It is defined by: + + c_{E} + \end{cases} + ]]> + + Where + + c_{S}]]> + + When the input u(k) is between Cs and CE, the output v(k) is zero. + When the input is greater than or equal to the upper limit CE, the output + is the input minus the upper limit. When the input is less than or equal + to the lower limit Cs, the output is the input minus the lower + limit. + + + + Dialog box + + + + + + + + + + + + End of dead band + + The upper limit of the dead band. + Properties : Type 'vec' of size 1 + + + + Start of dead band + + The lower limit of the dead band. + Properties : Type 'vec' of size 1 + + + + Zero crossing + + Select to enable zero crossing detection to detect when the + limits are reached. + + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + deadband + + + + + + Example + The following is an example of a system with deadband. + + + + + + + + + + + The input is a sine wave. The magnitude is set to 2, the frequency + to 1.25 and the phase to 0. The Deadband block has the following + parameters: + + + + + This plot shows the effect of the dead band on the sine wave. + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Misc/DEADBAND.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/deadband.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/HYSTHERESIS.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/HYSTHERESIS.xml new file mode 100755 index 000000000..edf3b5fcf --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/HYSTHERESIS.xml @@ -0,0 +1,258 @@ + + + + + HYSTHERESIS + Hystheresis + + + Block Screenshot + + + + + + + + + + Contents + + + + Hystheresis + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + discontinuities palette + + + + + + Description + + Switch output between two constants.The Relay block allows its output + to switch between two specified values. When the relay is on, it + remains on until the input drops below the value of the Switch off + point parameter. When the relay is off, it remains off until the input + exceeds the value of the Switch on point parameter. The block accepts + one input and generates one output. + + + + + Dialog box + + + + + + + + + + + + + + Switch on at + + The Switch on point parameter is converted to the input data type offline using round-to-nearest and saturation. + Properties : Type 'vec' of size 1 + + + + Switch off at + + The Switch off point parameter is converted to the input data type offline using round-to-nearest and saturation. + Properties : Type 'vec' of size 1 + + + + Output when on + + The output when the relay is on. + Properties : Type 'vec' of size 1 + + + + Output when off + + The output when the relay is off. + Properties : Type 'vec' of size 1 + + + + Use zero crossing: yes + + Select to enable zero crossing detection to detect switch-on and switch-off points. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + hystheresis + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/HYSTHERESIS.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/hystheresis.c (Type 4) + + + + + Example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/RATELIMITER.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/RATELIMITER.xml new file mode 100755 index 000000000..595f7923d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/RATELIMITER.xml @@ -0,0 +1,231 @@ + + + + + RATELIMITER + Rate limiter + + + Block Screenshot + + + + + + + + + + Contents + + + + Rate limiter + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + discontinuities palette + + + + + + Description + + The Rate Limiter block limits the first derivative of the signal + passing through it. The output changes no faster than the specified + limit. + + + + + Dialog box + + + + + + + + + + + + + + Max slope + + The limit of the derivative of an increasing input signal. + Properties : Type 'vec' of size 1 + + + + Min slope + + The limit of the derivative of a decreasing input signal. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + ratelimiter + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/RATELIMITER.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/ratelimiter.c (Type 4) + + + + + Example dividing the slope of the input by 3: + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discontinuities_pal/SATURATION.xml b/modules/xcos/help/en_US/palettes/Discontinuities_pal/SATURATION.xml new file mode 100755 index 000000000..08fba7eef --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discontinuities_pal/SATURATION.xml @@ -0,0 +1,241 @@ + + + + + SATURATION + Saturation + + + Block Screenshot + + + + + + + + + + Contents + + + + Saturation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + discontinuities palette + + + + + + Description + + The Saturation block imposes upper and lower bounds on a signal. When + the input signal is within the range specified by the Lower limit and + Upper limit parameters, the input signal passes through + unchanged. When the input signal is outside these bounds, the signal + is clipped to the upper or lower bound. When the Lower limit and Upper + limit parameters are set to the same value, the block outputs that + value. + + + + Dialog box + + + + + + + + + + + + + + Upper limit + + Specify the upper bound on the input signal. When the input signal to the Saturation block is above this value, the output of the block is clipped to this value. + Properties : Type 'vec' of size 1 + + + + Lower limit + + Specify the lower bound on the input signal. When the input signal to the Saturation block is below this value, the output of the block is clipped to this value. + Properties : Type 'vec' of size 1 + + + + Zero crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + satur + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/SATURATION.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/satur.c (Type 4) + + + + + Example imposing a 0.6 maximum value to a sine: + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/AA_Discrete_pal.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/AA_Discrete_pal.xml new file mode 100755 index 000000000..f11dae7bf --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/AA_Discrete_pal.xml @@ -0,0 +1,152 @@ + + + + + Discrete_pal + Discrete time systems palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Discrete time systems palette contains blocks for medeling discrete time + systems. + + + + Blocks + + + + DELAY_f — Discrete time delay + + + + + DELAYV_f — Variable delay + + + + + DLR — Discrete transfer function + + + + + DLRADAPT_f — Discrete Zero-Pole + function + + + + + + DLSS — Discrete state-space system + + + + + DOLLAR_f — Delay operator + + + + + REGISTER — Shift Register + + + + + SAMPHOLD_m — Sample and hold + + + + + TCLSS — Continuous linear system with jump + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Discrete_pal/CHAPTER new file mode 100755 index 000000000..6a97c6ad4 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/CHAPTER @@ -0,0 +1 @@ +title = Discrete time systems palette diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DELAYV_f.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DELAYV_f.xml new file mode 100755 index 000000000..ef00f6eb3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DELAYV_f.xml @@ -0,0 +1,283 @@ + + + + + DELAYV_f + Variable delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Variable delay + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + + The Variable Delay block can be used to simulate a variable time delay + between an action and its effect. The block might be used, for example, + to model a system with a pipe where the speed of a motor pumping fluid in the pipe is variable. + + + The block accepts two inputs and one output: the first input + is the signal u(t) that passes through the block (data input); + the second input is the variable time delay τ(t). + + + The ouput activation ports trigger every + "Max delay"/length("Register initial condition"). + + + The input activation port and the first ouput activation port are meant to be linked, + to get the variations of the input. + + + The final delay is: τ(t) + "Max delay"/length("Register initial condition"). + + + + Dialog box + + + + + + + + + + + + Number of inputs + + Set the vector size of the first regular input and the vector + size of the regular output port. + + Properties : Type 'vec' of size 1. + + + + Register initial condition + + Set the length and the initial conditions of the + register. + + Properties : Type 'vec' of size -1. + + + + Max delay + + It defines the largest value the time delay input can have.The + value cannot be negative. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 2 + + + + + continuous-time state: + no + + + + + discrete-time state: yes + + + + + object discrete-time state: + no + + + + + name of computational function: + delayv + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/DELAYV_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/delayv.f (Type 1) + + + + + Variable delay example + + In this example, the sine function (in black) est delayed alternatively by 0 and 1 second. + The amplitude of the GENSQR_f block is fixed at 2, but the "Max delay" parameter of the + DELAVV_f block restrains that value to 1. + We see that with every time GENSQR_f is activated (every 2*π seconds), the delay changes: + the curves overlap (delay=0) and are shifted (delay=1) in turn. + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DELAY_f.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DELAY_f.xml new file mode 100755 index 000000000..99b1301c5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DELAY_f.xml @@ -0,0 +1,251 @@ + + + + + DELAY_f + Discrete time delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Discrete time delay + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + + This compiled super-block implements a discretized delay. It is built with a shift register and a clock. The value of the delay is given by the discretization time step multiplied by the number-1 of state of the register. + + + + + + + Dialog box + + + + + + + + + + + + + + Discretization time step + + Set the time period of the integrated clock. + Properties : Type 'vec' of size 1. + + + + Register initial state + + Set the length and the initial conditions of the register. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Example + + + + + + + + + + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Linear/DELAY_f.sci + + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DLR.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DLR.xml new file mode 100755 index 000000000..830fe9ecf --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DLR.xml @@ -0,0 +1,225 @@ + + + + + DLR + Discrete transfer function + + + Block Screenshot + + + + + + + + + + Contents + + + + Discrete transfer function + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + + This block realizes a SISO linear system represented by its rational + transfer function (in the symbolic variable z). The rational function + must be proper. + + + + + Dialog box + + + + + + + + + + + + + + Numerator (z) + + This parameter sets the numerator of the transfer function. + + This must be a polynomial inz . + + Properties : Type 'pol' of size 1. + + + + Denominator (z) + + This parameter sets the denominator of the transfer function. + + This must be a polynomial inz . + + Properties : Type 'pol' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + dsslti4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/DLR.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/dsslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DLRADAPT_f.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DLRADAPT_f.xml new file mode 100755 index 000000000..ac24686aa --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DLRADAPT_f.xml @@ -0,0 +1,263 @@ + + + + + DLRADAPT_f + Discrete Zero-Pole + + + Block Screenshot + + + + + + + + + + Contents + + + + Discrete Zero-Pole + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + This block models system represented by zeros and poles of discrete + transfer function. + + + + Dialog box + + + + + + + + + + + + Vector of p mesh points + + The parameter description 1. + Properties : Type 'vec' of size -1. + + + + Numerator roots (one line for each + mesh) + + + The parameter description 2. + Properties : Type 'mat' of size [-1,-1]. + + + + Denominator roots (one line for each + mesh) + + + The parameter description 3. + Properties : Type 'mat' of size ["size(%1,''*'')","-1"]. + + + + Vector of gain at mesh points + + The parameter description 4. + Properties : Type 'vec' of size "size(%1,''*'')". + + + + Past inputs (Num degree values) + + The parameter description 5. + Properties : Type 'vec' of size "size(%2,2)". + + + + Past outputs (Den degree values) + + The parameter description 6. + Properties : Type 'vec' of size "size(%3,2)". + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: yes + + + + + object discrete-time state: + no + + + + + name of computational function: + dlradp + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/DLRADAPT_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/dlradp.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DLSS.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DLSS.xml new file mode 100755 index 000000000..2af57e621 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DLSS.xml @@ -0,0 +1,248 @@ + + + + + DLSS + Discrete state-space system + + + Block Screenshot + + + + + + + + + + Contents + + + + Discrete state-space system + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + + This block realizes a discrete-time linear state-space system. The + system is defined by the matrices and the initial state + . The dimensions must be compatible. At the arrival of an input + event on the unique input event port, the state is updated. + + + + Dialog box + + + + + + + + + + + + + + A matrix + + + $A$ square matrix. + + Properties : Type 'mat' of size [-1,-1]. + + + + B matrix + + + The $B$ matrix, [] if system has no input. + + Properties : Type 'mat' of size ["size(%1,2)","-1"]. + + + + C matrix + + + The $C$ matrix, [] if system has no output. + + Properties : Type 'mat' of size ["-1","size(%1,2)"]. + + + + D matrix + + + The $D$ matrix, [] if system has no D term. + + Properties : Type 'mat' of size [-1,-1]. + + + + Initial state + + A vector/scalar initial state of the system. + Properties : Type 'vec' of size "size(%1,2)". + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + dsslti4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/DLSS.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/dsslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/DOLLAR_f.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/DOLLAR_f.xml new file mode 100755 index 000000000..d9b20eb26 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/DOLLAR_f.xml @@ -0,0 +1,255 @@ + + + + + DOLLAR_f + Delay operator + + + Block Screenshot + + + + + + + + + + Contents + + + + Delay operator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Example + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + The Unit Delay block delays its input by the specified sample + period. This block is equivalent to the 1/z discrete-time operator. The + block accepts one input and generates one output, which can be either both + scalar or both vector. If the input is a vector, all elements of the + vector are delayed by the same sample period. + + + + Dialog box + + + + + + + + + + + + initial condition + + The output of the simulation for the first sampling period, + during which the output of the Unit Delay block is otherwise + undefined. + + Properties : Type 'vec' of size -1. + + + + Inherit (no:0, yes:1) + + When "Inherit" is yes, the block inherit its event input. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: yes + + + + + object discrete-time state: + no + + + + + name of computational function: + dollar + + + + + + Example + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/DOLLAR_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/dollar.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Discrete_pal/REGISTER.xml b/modules/xcos/help/en_US/palettes/Discrete_pal/REGISTER.xml new file mode 100755 index 000000000..a5a725218 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Discrete_pal/REGISTER.xml @@ -0,0 +1,254 @@ + + + + + REGISTER + Shift Register + + + Block Screenshot + + + + + + + + + + Contents + + + + Shift Register + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Discrete time systems palette + + + + + + Description + + This block realizes a shift register. At every input event, the + register is shifted one step. + + + + + Dialog box + + + + + + + + + + + + + + Register initial condition + + A column vector. It contains the initial state of the register. + Properties : Type 'vec' of size -1 + + + + Datatype + + This block support all datatypes besides complex. + Properties : Type 'vec' of size -1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + delay4 + + + + + + Example + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/REGISTER.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/delay4_i32.c + + + SCI/modules/scicos_blocks/src/c/delay4_i16.c + + + SCI/modules/scicos_blocks/src/c/delay4_i8.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui32.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui16.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui8.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/AA_Electrical_pal.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/AA_Electrical_pal.xml new file mode 100755 index 000000000..486789600 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/AA_Electrical_pal.xml @@ -0,0 +1,309 @@ + + + + + Electrical_pal + Electrical palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + Electrical toolbox contains very basic electrical components such as + voltage source, diode, capacitor, etc. + + + + Blocks + + + + Capacitor - Electrical capacitor + + + + + CCS - Controllable Modelica current + source + + + + + + ConstantVoltage - Electrical DC + voltage source + + + + + + CurrentSensor - Electrical current + sensor + + + + + + CVS - Controllable Modelica voltage + source + + + + + + 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 + + + + + VariableResistor - Electrical + variable resistor + + + + + + VoltageSensor - Electrical voltage + sensor + + + + + + VsourceAC - Electrical AC voltage + source + + + + + + VVsourceAC - Variable AC voltage + source + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/CCS.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/CCS.xml new file mode 100755 index 000000000..2896fb56a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/CCS.xml @@ -0,0 +1,186 @@ + + + + + CCS + Controllable Modelica current source + + + Block Screenshot + + + + + + + + + + Contents + + + + Controllable Modelica current source + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing + function + + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical + toolbox + + + + + + + Description + This block is an ideal current source. The current value is + controlled through the explicit input of the block (connected to standard + Xcos blocks). The voltage across the block is independent of the current + value. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'Iin' + + + Explicit variable. + + + + + Modelica variable name : + 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'n' + + + Implicit variable. + + + + + + + File name of the model : + CCS + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/CCS.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/CCS.mo + + + + + See also + + + + CVS - Controllable Modelica voltage + source + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Electrical_pal/CHAPTER new file mode 100755 index 000000000..510b32cb3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/CHAPTER @@ -0,0 +1 @@ +title = Electrical palette diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/CVS.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/CVS.xml new file mode 100755 index 000000000..d93e4a9b2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/CVS.xml @@ -0,0 +1,186 @@ + + + + + CVS + Controllable Modelica voltage source + + + Block Screenshot + + + + + + + + + + Contents + + + + Controllable Modelica voltage source + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing + function + + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical + toolbox + + + + + + + Description + This block is an ideal voltage source. The voltage value is + controlled through the explicit input of the block (connected to standard + Xcos blocks). The current passing through the block is independent of the + voltage across the block terminals. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'vin' + + + Explicit variable. + + + + + Modelica variable name : + 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'n' + + + Implicit variable. + + + + + + + File name of the model : + CVS + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/CVS.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/CVS.mo + + + + + See also + + + + CCS - Controllable Modelica current + source + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Capacitor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Capacitor.xml new file mode 100755 index 000000000..aad85f30f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Capacitor.xml @@ -0,0 +1,232 @@ + + + + + Capacitor + Electrical capacitor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical capacitor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + A capacitor is an electrical component that can store energy in + electrical circuits. The relationship between the voltage across a + capacitor with capacitance and the current passing through it + is given by the: + + $ I = C \mathrm{d}V \ over \mathrm{d}t $ + + Capacitors can also be used to differentiate between high-frequency + and low-frequency signals and this makes them useful in electronic + filters. A capacitor has a high impedance when a signal is low frequency + signals. + + + + + Dialog box + + + + + + + + + + + + + + C (F) + + Capacitance + Properties : Type 'vec' of size 1. + + + + Initial Voltage + + Initial Voltage + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'C' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'v' + + + Default value : 0 + + + Is a state variable : yes. + + + + + + + + + File name of the model : Capacitor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Capacitor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Capacitor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/ConstantVoltage.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/ConstantVoltage.xml new file mode 100755 index 000000000..c9aa197a5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/ConstantVoltage.xml @@ -0,0 +1,206 @@ + + + + + ConstantVoltage + Electrical DC voltage source + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical DC voltage source + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This component is a model for any device or system that produces a + constant electromotive force between its port. The output voltage of + this DC voltage source is defined by the user. The black port + indicates the positive voltage. The ohmic resistance of this DC + voltage source is zero. + + + + + Dialog box + + + + + + + + + + + + + + V (volt) + + Output voltage + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'V' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + + + File name of the model : ConstantVoltage + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/ConstantVoltage.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/ConstantVoltage.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/CurrentSensor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/CurrentSensor.xml new file mode 100755 index 000000000..3740abfe5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/CurrentSensor.xml @@ -0,0 +1,169 @@ + + + + + CurrentSensor + Electrical current sensor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical current sensor + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This block is inserted in series in an electrical circuit to measure + the current passing through the component. The measure is given to the + explicit part of the model via an explicit pout. Conventionally, + current flowing into the black port is considered positive. The ohmic + resistance of this block is zero. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Modelica variable name : 'i' + + + Explicit variable. + + + + + + + + + File name of the model : CurrentSensor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/CurrentSensor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/CurrentSensor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Diode.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Diode.xml new file mode 100755 index 000000000..e5f2e305b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Diode.xml @@ -0,0 +1,266 @@ + + + + + Diode + Electrical diode + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical diode + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This component consists of a simple diode parallel with an ohmic + resistance (R). + The current (I) + passing through this component is defined as a function of the voltage across the ports (V): + + + + where + Ids + and + Vt + are the saturation + current and the voltage equivalent of temperature, respectively. If the exponent reaches a certain limit (Max exponent for linear continuation), + the diode characteristic becomes linear to avoid overflow. + + + + Dialog box + + + + + + + + + + + + + + Saturation current (A) + + Saturation current + Properties : Type 'vec' of size 1. + + + + Voltage equivalent to temperature (Volt) + + Voltage equivalent of temperature + Properties : Type 'vec' of size 1. + + + + Max exponent for linear continuation + + Max exponent for linear continuation + Properties : Type 'vec' of size 1. + + + + R (ohm) + + Parallel ohmic resistance. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'Ids' + + + Default value : 0.000001 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.04 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Maxexp' + + + Default value : 15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'R' + + + Default value : 1.000E+08 + + + Is a state variable : no. + + + + + + + File name of the model : Diode + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Diode.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Diode.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Ground.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Ground.xml new file mode 100755 index 000000000..278c6cb20 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Ground.xml @@ -0,0 +1,141 @@ + + + + + Ground + Ground (zero potential reference) + + + Block Screenshot + + + + + + + + + + Contents + + + + Ground (zero potential reference) + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + The Ground element is a single port component providing a reference + voltage in electrical circuits. The potential at the ground node is + zero. Every electrical circuit has to contain at least one ground + element. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + File name of the model : Ground + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Ground.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Ground.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Gyrator.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Gyrator.xml new file mode 100755 index 000000000..1359048d1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Gyrator.xml @@ -0,0 +1,236 @@ + + + + + Gyrator + Modelica Gyrator + + + Block Screenshot + + + + + + + + + + Contents + + + + Modelica Gyrator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + A gyrator is a two-port element defined by the following equations: i1 = G2 * v2 i2 = -G1 * v1 where the constants G1, G2 are called the gyration conductance. + + + + + + Dialog box + + + + + + + + + + + + + + G1 + + Gyration conductance (-i2/v1) . + Properties : Type 'vec' of size 1. + + + + G2 + + Gyration conductance (i1/v2). + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p1' + + + Implicit variable. + + + + + + + Modelica variable name : 'n1' + + + Implicit variable. + + + + + + + Modelica variable name : 'p2' + + + Implicit variable. + + + + + + + Modelica variable name : 'n2' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'G1' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'G2' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + + + File name of the model : Gyrator + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Gyrator.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Gyrator.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/IdealTransformer.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/IdealTransformer.xml new file mode 100755 index 000000000..b49c7104b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/IdealTransformer.xml @@ -0,0 +1,233 @@ + + + + + IdealTransformer + Ideal Transformer + + + Block Screenshot + + + + + + + + + + Contents + + + + Ideal Transformer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + Example + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + The ideal transformer is an ideal two-port resistive circuit element which is characterized by the following two equations: v1 = n * v2 i2 = -n * i1 where n is a real number called the turns ratio. + + + + + + Dialog box + + + + + + + + + + + + + + N + + Turns ratio (N1/N2) + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p1' + + + Implicit variable. + + + + + + + Modelica variable name : 'n1' + + + Implicit variable. + + + + + + + Modelica variable name : 'p2' + + + Implicit variable. + + + + + + + Modelica variable name : 'n2' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'N' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + + + File name of the model : IdealTransformer + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/IdealTransformer.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/IdealTransformer.mo + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Inductor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Inductor.xml new file mode 100755 index 000000000..b4f715766 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Inductor.xml @@ -0,0 +1,213 @@ + + + + + Inductor + Electrical inductor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical inductor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + Inductor is an electrical component that can store energy in + electrical circuits. The relationship between the voltage across + the ports of an inductor of inductance and the current passing + through it is given by: + + + + Inductors can also be used to differentiate between high-frequency and + low-frequency signals and this makes them useful in electronic + filters. An inductor shows a high impedance for high frequency + signals. + + + + Dialog box + + + + + + + + + + + + + + L (H) + + Inductance + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'L' + + + Default value : 0.00001 + + + Is a state variable : no. + + + + + + + + + File name of the model : Inductor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Inductor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Inductor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/NMOS.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/NMOS.xml new file mode 100755 index 000000000..1c936d9cb --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/NMOS.xml @@ -0,0 +1,623 @@ + + + + + NMOS + Simple NMOS Transistor + + + Block Screenshot + + + + + + + + + + Contents + + + + Simple NMOS Transistor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing + function + + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical + toolbox + + + + + + + Description + Description + + The NMos model is a simple model of a n-channel metal-oxide + semiconductor FET. It differs slightly from the device used in the SPICE + simulator. For more details please care for H. Spiro. + + The model does not consider capacitances. A small fixed drain-source + resistance is included (to avoid numerical difficulties). + + + + + W [m] + L [m] + Beta [1/V²] + Vt [V] + K2 + K5 + DW [m] + DL[m] +   + + + 12.e-6 + 4.e-6 + .062 + -4.5 + .24 + .61 + -1.2e-6 + -.9e-6 + depletion + + + 60.e-6 + 3.e-6 + .048 + .1 + .08 + .68 + -1.2e-6 + -.9e-6 + enhancement + + + 12.e-6 + 4.e-6 + .0625 + -.8 + .21 + .78 + -1.2e-6 + -.9e-6 + zero + + + 50.e-6 + 8.e-6 + .0299 + .24 + 1.144 + .7311 + -5.4e-6 + -4.e-6 +   + + + 20.e-6 + 6.e-6 + .041 + .8 + 1.144 + .7311 + -2.5e-6 + -1.5e-6 +   + + + 30.e-6 + 9.e-6 + .025 + -4. + .861 + .878 + -3.4e-6 + -1.74e-6 +   + + + 30.e-6 + 5.e-6 + .031 + .6 + 1.5 + .72 + 0 + -3.9e-6 +   + + + 50.e-6 + 6.e-6 + .0414 + -3.8 + .34 + .8 + -1.6e-6 + -2.e-6 + depletion + + + 50.e-6 + 5.e-6 + .03 + .37 + .23 + .86 + -1.6e-6 + -2.e-6 + enhancement + + + 50.e-6 + 6.e-6 + .038 + -.9 + .23 + .707 + -1.6e-6 + -2.e-6 + zero + + + 20.e-6 + 4.e-6 + .06776 + .5409 + .065 + .71 + -.8e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .06505 + .6209 + .065 + .71 + -.8e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .05365 + .6909 + .03 + .8 + -.3e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .05365 + .4909 + .03 + .8 + -.3e-6 + -.2e-6 +   + + + 12.e-6 + 4.e-6 + .023 + -4.5 + .29 + .6 + 0 + 0 + depletion + + + 60.e-6 + 3.e-6 + .022 + .1 + .11 + .65 + 0 + 0 + enhancement + + + 12.e-6 + 4.e-6 + .038 + -.8 + .33 + .6 + 0 + 0 + zero + + + 20.e-6 + 6.e-6 + .022 + .8 + 1 + .66 + 0 + 0 +   + + + + + Dialog box + + + + + + + + + + + + Width [m] + + W + Properties : Type 'vec' of size 1. + + + + Length [m] + + L + Properties : Type 'vec' of size 1. + + + + Transconductance parameter + [A/(V*V)] + + + Beta + Properties : Type 'vec' of size 1. + + + + Zero bias threshold voltage [V] + + Vt + Properties : Type 'vec' of size 1. + + + + Bulk threshold parameter + + K2 + Properties : Type 'vec' of size 1. + + + + Reduction of pinch-off region + + K5 + Properties : Type 'vec' of size 1. + + + + Narrowing of channel [m] + + dW + Properties : Type 'vec' of size 1. + + + + Shortening of channel [m] + + dL + Properties : Type 'vec' of size 1. + + + + Drain-Source-Resistance [Ohm] + + RDS + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'G' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'D' + + + Implicit variable. + + + + + Modelica variable name : + 'B' + + + Implicit variable. + + + + + Modelica variable name : + 'S' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'W' + + + Default value : + 0.00002 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'L' + + + Default value : + 0.000006 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'Beta' + + + Default value : + 0.000041 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'Vt' + + + Default value : 0.8 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'K2' + + + Default value : + 1.144 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'K5' + + + Default value : + 0.7311 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'dW' + + + Default value : + -0.0000025 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'dL' + + + Default value : + -0.0000015 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'RDS' + + + Default value : + 10000000 + + + Is a state variable : + no. + + + + + + + File name of the model : + NMOS + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/NMOS.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/NMOS.mo + + + + + See also + + + + PMOS - Simple PMOS Transistor + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/NPN.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/NPN.xml new file mode 100755 index 000000000..293baa945 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/NPN.xml @@ -0,0 +1,525 @@ + + + + + NPN + NPN transistor + + + Block Screenshot + + + + + + + + + + Contents + + + + NPN transistor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This model is a simple model of a bipolar NPN junction transistor according to Ebers-Moll. + + + + + + Dialog box + + + + + + + + + + + + + + Parameter + Default value + Description + + + Bf + 50 + Forward beta + + + Br + 0.1 + Reverse beta + + + Is + 1.e-16 + Transport saturation current [A] + + + Vak + 0.02 + Early voltage (inverse), 1/Volt [1/V] + + + Tauf + 0.12e-9 + Ideal forward transit time [s] + + + Taur + 5e-9 + Ideal reverse transit time [s] + + + Ccs + 1e-12 + Collector-substrat(ground) cap. [F] + + + Cje + 0.4e-12 + Base-emitter zero bias depletion cap. [F] + + + Cjc + 0.5e-12 + Base-coll. zero bias depletion cap. [F] + + + Phie + 0.8 + Base-emitter diffusion voltage [V] + + + Me + 0.4 + Base-emitter gradation exponent + + + Phic + 0.8 + Base-collector diffusion voltage [V] + + + Mc + 0.333 + Base-collector gradation exponent + + + Gbc + 1e-15 + Base-collector conductance [S] + + + Gbe + 1e-15 + Base-emitter conductance [S] + + + Vt + 0.02585 + Voltage equivalent of temperature [V] + + + EMin + -100 + if x < EMin, the exp(x) function is linearized + + + EMax + 40 + if x > EMax, the exp(x) function is linearized + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'B' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'C' + + + Implicit variable. + + + + + + + Modelica variable name : 'E' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'Bf' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Br' + + + Default value : 0.1 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Is' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Vak' + + + Default value : 0.02 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Tauf' + + + Default value : 1.200E-10 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Taur' + + + Default value : 5.000E-09 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Ccs' + + + Default value : 1.000E-12 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Cje' + + + Default value : 4.000E-13 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Cjc' + + + Default value : 5.000E-13 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Phie' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Me' + + + Default value : 0.4 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Phic' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Mc' + + + Default value : 0.333 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Gbc' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Gbe' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.02585 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'EMinMax' + + + Default value : 40 + + + Is a state variable : no. + + + + + + + + + File name of the model : NPN + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/NPN.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/NPN.mo + + + + + See also + + + + PNP - PNP transistor + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/OpAmp.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/OpAmp.xml new file mode 100755 index 000000000..5116b6ac5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/OpAmp.xml @@ -0,0 +1,166 @@ + + + + + OpAmp + Ideal opamp (norator-nullator pair) + + + Block Screenshot + + + + + + + + + + Contents + + + + Ideal opamp (norator-nullator pair) + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + The ideal OpAmp is a two-port. The left port is fixed to v1=0 and i1=0 (nullator). At the right port both any voltage v2 and any current i2 are possible (norator). + + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'in_p' + + + Implicit variable. + + + + + + + Modelica variable name : 'in_n' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'out' + + + Implicit variable. + + + + + + + + + File name of the model : OpAmp + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/OpAmp.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/OpAmp.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/PMOS.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/PMOS.xml new file mode 100755 index 000000000..3e0418cc7 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/PMOS.xml @@ -0,0 +1,492 @@ + + + + + PMOS + Simple PMOS Transistor + + + Block Screenshot + + + + + + + + + + Contents + + + + Simple PMOS Transistor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing + function + + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical + toolbox + + + + + + + Description + The PMOS model is a simple model of a p-channel metal-oxide + semiconductor FET. It differs slightly from the device used in the SPICE + simulator. For more details please care for H. Spiro. + + The model does not consider capacitances. A small fixed drain-source + resistance is included (to avoid numerical difficulties). + + Some typical parameter sets are: + + + + W [m] + L[m] + Beta [1/V²] + Vt [V] + K2 + K5 + DW [m] + DL [m] + + + 50.e-6 + 8.e-6 + .0085 + -.15 + .41 + .839 + -3.8e-6 + -4.0e-6 + + + 20.e-6 + 6.e-6 + .0105 + -1.0 + .41 + .839 + -2.5e-6 + -2.1e-6 + + + 30.e-6 + 5.e-6 + .0059 + -.3 + .98 + 1.01 + 0 + -3.9e-6 + + + 30.e-6 + 5.e-6 + .0152 + -.69 + .104 + 1.1 + -.8e-6 + -.4e-6 + + + 30.e-6 + 5.e-6 + .0163 + -.69 + .104 + 1.1 + -.8e-6 + -.4e-6 + + + 30.e-6 + 5.e-6 + .0182 + -.69 + .086 + 1.06 + -.1e-6 + -.6e-6 + + + 20.e-6 + 6.e-6 + .0074 + -1. + .4 + .59 + 0 + 0 + + + + + Dialog box + + + + + + + + + + + + Width [m] + + W + Properties : Type 'vec' of size 1. + + + + Length [m] + + L + Properties : Type 'vec' of size 1. + + + + Transconductance parameter + [A/(V*V)] + + + Beta + Properties : Type 'vec' of size 1. + + + + Zero bias threshold voltage [V] + + Vt + Properties : Type 'vec' of size 1. + + + + Bulk threshold parameter + + K2 + Properties : Type 'vec' of size 1. + + + + Reduction of pinch-off region + + K5 + Properties : Type 'vec' of size 1. + + + + Narrowing of channel [m] + + dW + Properties : Type 'vec' of size 1. + + + + Shortening of channel [m] + + dL + Properties : Type 'vec' of size 1. + + + + Drain-Source-Resistance [Ohm] + + RDS + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'G' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'D' + + + Implicit variable. + + + + + Modelica variable name : + 'B' + + + Implicit variable. + + + + + Modelica variable name : + 'S' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'W' + + + Default value : + 0.00005 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'L' + + + Default value : + 0.000006 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'Beta' + + + Default value : + 0.0000105 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'Vt' + + + Default value : -1 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'K2' + + + Default value : 0.41 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'K5' + + + Default value : + 0.839 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'dW' + + + Default value : + -0.0000025 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'dL' + + + Default value : + -0.0000021 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'RDS' + + + Default value : + 10000000 + + + Is a state variable : + no. + + + + + + + File name of the model : + PMOS + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/PMOS.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/PMOS.mo + + + + + See also + + + + NMOS - Simple NMOS Transistor + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/PNP.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/PNP.xml new file mode 100755 index 000000000..6ffba3530 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/PNP.xml @@ -0,0 +1,525 @@ + + + + + PNP + PNP transistor + + + Block Screenshot + + + + + + + + + + Contents + + + + PNP transistor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + See also + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This model is a simple model of a bipolar PNP junction transistor according to Ebers-Moll. + + + + + + Dialog box + + + + + + + + + + + + + + Parameter + Default value + Description + + + Bf + 50 + Forward beta + + + Br + 0.1 + Reverse beta + + + Is + 1.e-16 + Transport saturation current [A] + + + Vak + 0.02 + Early voltage (inverse), 1/Volt [1/V] + + + Tauf + 0.12e-9 + Ideal forward transit time [s] + + + Taur + 5e-9 + Ideal reverse transit time [s] + + + Ccs + 1e-12 + Collector-substrat(ground) cap. [F] + + + Cje + 0.4e-12 + Base-emitter zero bias depletion cap. [F] + + + Cjc + 0.5e-12 + Base-coll. zero bias depletion cap. [F] + + + Phie + 0.8 + Base-emitter diffusion voltage [V] + + + Me + 0.4 + Base-emitter gradation exponent + + + Phic + 0.8 + Base-collector diffusion voltage [V] + + + Mc + 0.333 + Base-collector gradation exponent + + + Gbc + 1e-15 + Base-collector conductance [S] + + + Gbe + 1e-15 + Base-emitter conductance [S] + + + Vt + 0.02585 + Voltage equivalent of temperature [V] + + + EMin + -100 + if x < EMin, the exp(x) function is linearized + + + EMax + 40 + if x > EMax, the exp(x) function is linearized + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'B' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'C' + + + Implicit variable. + + + + + + + Modelica variable name : 'E' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'Bf' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Br' + + + Default value : 0.1 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Is' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Vak' + + + Default value : 0.02 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Tauf' + + + Default value : 1.200E-10 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Taur' + + + Default value : 5.000E-09 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Ccs' + + + Default value : 1.000E-12 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Cje' + + + Default value : 4.000E-13 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Cjc' + + + Default value : 5.000E-13 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Phie' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Me' + + + Default value : 0.4 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Phic' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Mc' + + + Default value : 0.333 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Gbc' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Gbe' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.02585 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'EMinMax' + + + Default value : 40 + + + Is a state variable : no. + + + + + + + + + File name of the model : PNP + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/PNP.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/PNP.mo + + + + + See also + + + + NPN - NPN transistor + + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/PotentialSensor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/PotentialSensor.xml new file mode 100755 index 000000000..c9d3a7909 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/PotentialSensor.xml @@ -0,0 +1,158 @@ + + + + + PotentialSensor + Potential sensor + + + Block Screenshot + + + + + + + + + + Contents + + + + Potential sensor + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This block is used to measure the voltage with respect to the + reference voltage (Ground block) in an electrical circuit. The + voltage is given to the explicit part of the model via an explicit + output port. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'v' + + + Explicit variable. + + + + + + + + + File name of the model : PotentialSensor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/PotentialSensor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/PotentialSensor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Resistor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Resistor.xml new file mode 100755 index 000000000..909bf50ce --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Resistor.xml @@ -0,0 +1,199 @@ + + + + + Resistor + Electrical resistor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical resistor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + A resistor is a two-port electrical component that resists an electric + current (I) by producing a voltage drop (V) between its terminals according to the Ohm's law. + + $$ R = I \over V $$ + + The electrical resistance (R) is equal to the voltage drop across (V) the resistor divided by the current (I) through the resistor. + + + + Dialog box + + + + + + + + + + + + + R (ohm) + + Resistance + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'R' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + File name of the model : Resistor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Resistor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Resistor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/SineVoltage.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/SineVoltage.xml new file mode 100755 index 000000000..4d066c72f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/SineVoltage.xml @@ -0,0 +1,283 @@ + + + + + SineVoltage + Sine voltage source + + + Block Screenshot + + + + + + + + + + Contents + + + + Sine voltage source + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This Modelica block a general sine voltage source. The internal ohmic resistance is zero. + + + + + + Dialog box + + + + + + + + + + + + + + Amplitude (Volt) + + Sine voltage amplitude + Properties : Type 'vec' of size 1. + + + + phase (rad) + + phase shift of the sine voltage + Properties : Type 'vec' of size 1. + + + + Frequency (Hz) + + Sine voltage frequency + Properties : Type 'vec' of size 1. + + + + Voltageoffset (V) + + Offset Voltage of the sine voltage + Properties : Type 'vec' of size 1. + + + + Timeoffset (s) + + Start time. During the start time, the signal value is equal to the voltage offset. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'V' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'phase' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'freqHz' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'offset' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'startTime' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + + + File name of the model : SineVoltage + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/Switch.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/Switch.xml new file mode 100755 index 000000000..206936639 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/Switch.xml @@ -0,0 +1,238 @@ + + + + + Switch + Non-ideal electrical switch + + + Block Screenshot + + + + + + + + + + Contents + + + + Non-ideal electrical switch + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This is a non-ideal two-pole switch. If the explicit input become positive, two pins are connected via a resistor of resistance RON). Otherwise, two pins are connected via ROFF resistance. + + + + Note that using this block may result in a stiff model, so try to choose proper error tolerances. + + + + + + + Dialog box + + + + + + + + + + + + + + Resistance in On state (Ohm) + + Switch resistance when the Switch is closed + Properties : Type 'vec' of size 1. + + + + Resistance in Off state (Ohm) + + Switch resistance when the switch is open + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Modelica variable name : 'inp' + + + Explicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'Ron' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'Roff' + + + Default value : 100000 + + + Is a state variable : no. + + + + + + + + + File name of the model : Switch + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/Switch.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/Switch.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/VVsourceAC.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/VVsourceAC.xml new file mode 100755 index 000000000..08c895072 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/VVsourceAC.xml @@ -0,0 +1,216 @@ + + + + + VVsourceAC + Variable AC voltage source + + + Block Screenshot + + + + + + + + + + Contents + + + + Variable AC voltage source + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + The variable voltage source block is a model for a controlled AC + voltage source. This component provides a sinusoid voltage across its + ports. The amplitude of the output voltage is governed by the explicit + input and the frequency is defined by the user. The ohmic resistance + of the block is zero. + + + + + Dialog box + + + + + + + + + + + + + + Frequency (Hz) + + Frequency of the output sinosoid voltage + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Modelica variable name : 'VA' + + + Explicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'f' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + + + File name of the model : VVsourceAC + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/VVsourceAC.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/VVsourceAC.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/VariableResistor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/VariableResistor.xml new file mode 100755 index 000000000..d5e88abf2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/VariableResistor.xml @@ -0,0 +1,160 @@ + + + + + VariableResistor + Electrical variable resistor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical variable resistor + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This component represents a variable ohmic resistor. The resistance + (Rx) is controlled via an explicit input port. + + $$ R_x = V \over I $$ + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + Modelica variable name : 'R' + + + Explicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + File name of the model : VariableResistor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/VariableResistor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/VariableResistor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/VoltageSensor.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/VoltageSensor.xml new file mode 100755 index 000000000..896419458 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/VoltageSensor.xml @@ -0,0 +1,170 @@ + + + + + VoltageSensor + Electrical voltage sensor + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical voltage sensor + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This component is used to measure the voltage difference between two + nodes in an electrical circuit. The output signal is the difference + between the voltages of the black port and the white port, ie. , + + $$ V_{output} = V_{black} - V_{white} $$ + + The ohmic conductance of this block is zero. + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Modelica variable name : 'v' + + + Explicit variable. + + + + + + + + + File name of the model : VoltageSensor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/VoltageSensor.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/VoltageSensor.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Electrical_pal/VsourceAC.xml b/modules/xcos/help/en_US/palettes/Electrical_pal/VsourceAC.xml new file mode 100755 index 000000000..55bb5fa1e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Electrical_pal/VsourceAC.xml @@ -0,0 +1,224 @@ + + + + + VsourceAC + Electrical AC voltage source + + + Block Screenshot + + + + + + + + + + Contents + + + + Electrical AC voltage source + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Electrical.cosf - Electrical toolbox + + + + + + Description + + This component is an AC voltage source with sinusoid output + voltage. The amplitude and the frequency of the output voltage is set + by the user. The ohmic resistance of this block is zero. + + + + + Dialog box + + + + + + + + + + + + + + Amplitude (Volt) + + Amplitude of the output sinusoid voltage + Properties : Type 'vec' of size -1. + + + + Frequency (Hz) + + Frequency of the output sinusoid voltage + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + + + Parameters : + + + + + Modelica parameter name : 'VA' + + + Default value : 220 + + + Is a state variable : no. + + + + + + + Modelica parameter name : 'f' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + + + File name of the model : VsourceAC + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Electrical/VsourceAC.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Electrical/VsourceAC.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/AA_Events_pal.xml b/modules/xcos/help/en_US/palettes/Events_pal/AA_Events_pal.xml new file mode 100755 index 000000000..0ba17ed18 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/AA_Events_pal.xml @@ -0,0 +1,306 @@ + + + + + Events_pal + Event handling palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Event handling palette is used to handle events in the diagram. It + contains several activation clocks, synchronous blocks and blocks to + gather events in a single link. + + + + Blocks + + + + 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 + + + + + CLOCK_c — Activation clock + + + + + EDGE_TRIGGER — EDGE_TRIGGER block + + + + + ENDBLK — END block + + + + + END_c — END_c 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 — Stop simulation + + + + + IFTHEL_f — Synchronous block + If-Then-Else + + + + + + M_freq — Multiple Frequencies + + + + + MCLOCK_f — Clock Frequency division + + + + + MFCLCK_f — Clock Multiple Frequencies + + + + + SampleCLK — Sample Time Clock + + + + + freq_div — Frequency division + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/ANDBLK.xml b/modules/xcos/help/en_US/palettes/Events_pal/ANDBLK.xml new file mode 100755 index 000000000..506755f09 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/ANDBLK.xml @@ -0,0 +1,173 @@ + + + + + ANDBLK + Activation and + + + Block Screenshot + + + + + + + + + + Contents + + + + Activation and + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Compiled Super Block content + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + The Bus Creator block combines a set of signals, i.e., a + group of signals represented by a single line in a block diagram. It + allows you to reduce the number of lines required to route signals + from one part of a diagram to another. This makes your diagram easier to + understand. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 2 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/ANDBLK.sci + + + + + And example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/ANDLOG_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/ANDLOG_f.xml new file mode 100755 index 000000000..ac0582877 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/ANDLOG_f.xml @@ -0,0 +1,187 @@ + + + + + ANDLOG_f + Logical and + + + Block Screenshot + + + + + + + + + + Contents + + + + Logical and + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block, with two event inputs and a regular output, outputs +1 or + -1 on its regular output depending on input events. + + + + + + + + +1 : When events are synchronously (present on both event input ports), + + + + + -1 : When only one event is present. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 2 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + andlog + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/ANDLOG_f.sci + + + + + Logical And example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CEVENTSCOPE.xml b/modules/xcos/help/en_US/palettes/Events_pal/CEVENTSCOPE.xml new file mode 100755 index 000000000..f2c8fef41 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CEVENTSCOPE.xml @@ -0,0 +1,243 @@ + + + + + CEVENTSCOPE + Activation scope + + + Block Screenshot + + + + + + + + + + Contents + + + + Activation scope + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block realizes the visualization of the input event signals. + + + + + + Dialog box + + + + + + + + + + + + + + Number of event inputs + + + an integer giving the number of event input ports colors : a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seexset for color (dash type) definitions. + + Properties : Type 'vec' of size 1 + + + + Colors c + + + an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. Seeplot2d for color (dash type) definitions. + + Properties : Type 'vec' of size -1 + + + + Output window number + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired). Output window position : a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size 1 + + + + Output window position + + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the width and height of the graphic window. Answer [] for default window dimensions. + Properties : Type 'vec' of size -1 + + + + Refresh period + + Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cevscpe + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CEVENTSCOPE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cevscpe.c (Type 4) + + + + + Visualization example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Events_pal/CHAPTER new file mode 100755 index 000000000..fe2848529 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CHAPTER @@ -0,0 +1 @@ +title = Event handling palette diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CLKFROM.xml b/modules/xcos/help/en_US/palettes/Events_pal/CLKFROM.xml new file mode 100755 index 000000000..45c6a533d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CLKFROM.xml @@ -0,0 +1,197 @@ + + + + + CLKFROM + Receives data from a corresponding CLKGOTO + + + Block Screenshot + + + + + + + + + + Contents + + + + Receives data from a corresponding CLKGOTO + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is used to connect events ports. For more information on how it works please refer to the documentation of the FROM block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + The tag of the CLKGOTO block passing the signal to this CLKFROM block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + clkfrom + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/CLKFROM.sci + + + + + See also + + + + FROM - FROM Receives data from a corresponding GOTO + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CLKGOTO.xml b/modules/xcos/help/en_US/palettes/Events_pal/CLKGOTO.xml new file mode 100755 index 000000000..fd39f7c9f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CLKGOTO.xml @@ -0,0 +1,204 @@ + + + + + CLKGOTO + Pass block input to CLKFROM block + + + Block Screenshot + + + + + + + + + + Contents + + + + Pass block input to CLKFROM block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is used to connect events ports. For more information on how it works please refer to the documentation of the GOTO block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + This parameter identifies the Goto block whose scope is defined in this block. + Properties : Type 'str' of size -1. + + + + Tag Visibility (1=Local 2=Scoped 3=Global) + + This parameter idetifies the visibility of the block. It can be local(1), scoped(2) or global(3). + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + clkgoto + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/CLKGOTO.sci + + + + + See also + + + + GOTO - GOTO Pass block input to From block + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CLKGotoTagVisibility.xml b/modules/xcos/help/en_US/palettes/Events_pal/CLKGotoTagVisibility.xml new file mode 100755 index 000000000..756965fdb --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CLKGotoTagVisibility.xml @@ -0,0 +1,197 @@ + + + + + CLKGotoTagVisibility + Define Scope of CLKGOTO tag visibility + + + Block Screenshot + + + + + + + + + + Contents + + + + Define Scope of CLKGOTO tag visibility + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is used in the event case. For more information on how it works please refer to the documentation of the GotoTagVisibility block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + GotoTag + + The Goto block tag whose visibility is defined by the location of this block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + clkgototagvisibility + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/CLKGotoTagVisibility.sci + + + + + See also + + + + GotoTagVisibility - Define Scope of GOTO tag visibility + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/CLKSOMV_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/CLKSOMV_f.xml new file mode 100755 index 000000000..79a670ee7 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/CLKSOMV_f.xml @@ -0,0 +1,180 @@ + + + + + CLKSOMV_f + Activation union + + + Block Screenshot + + + + + + + + + + Contents + + + + Activation union + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is an event addition block with up to three inputs. The + output reproduces the events on all the input ports. Strictly + speaking, CLKSOMV is not a Xcos block because it is discarded at the + compilation phase. The inputs and output of CLKSOMV are synchronized. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 3 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + sum + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/CLKSOMV_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/sum.c (Type 0) + + + + + Sum example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/EDGE_TRIGGER.xml b/modules/xcos/help/en_US/palettes/Events_pal/EDGE_TRIGGER.xml new file mode 100755 index 000000000..1ddaa101d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/EDGE_TRIGGER.xml @@ -0,0 +1,204 @@ + + + + + EDGE_TRIGGER + EDGE_TRIGGER block + + + Block Screenshot + + + + + + + + + + Contents + + + + EDGE_TRIGGER block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block generates an event on rising, falling or both edges of the input signal (depending on block parameter). A rising edge is a change in value from strictly negative to positive or zero, or a change in value from zero to strictly positive. A falling edge is the opposite. + + + + Note that this block only generates an event if the input jumps due to an event. The generated event is synchronous with the event causing the jump. This block does not detect continuous-time zero-crossings. + + + + + + + Dialog box + + + + + + + + + + + + + + Rising (1), falling (-1), both (0) + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/EDGE_TRIGGER.sci + + + + + Edge Trigger example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/ESELECT_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/ESELECT_f.xml new file mode 100755 index 000000000..e278c155c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/ESELECT_f.xml @@ -0,0 +1,217 @@ + + + + + ESELECT_f + Synchronous block Event-Select + + + Block Screenshot + + + + + + + + + + Contents + + + + Synchronous block Event-Select + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + Special block similar to If-Then-Else. Input and output are synchronized. + The incoming event is directed to one of the output event ports depending + on the value of the regular input. + + + For example, when the input value is between 0 and 1, the control input is redirected to the first command output; when the input value is between 1 and 2, the control input is redirected to the second command output; et cætera... + + + + Dialog box + + + + + + + + + + + + + + Number of output event ports + + A scalar. Number of output event ports. + Properties : Type 'vec' of size 1 + + + + Inherit + + If no, then it inherits the event from event input port, elseif yes, then event is activated by regular input port. + Properties : Type 'vec' of size 1 + + + + Zero-crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type -1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 2 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + eselect + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/ESELECT_f.sci + + + + + ESelect example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/EVTDLY_c.xml b/modules/xcos/help/en_US/palettes/Events_pal/EVTDLY_c.xml new file mode 100755 index 000000000..c9cd6fe67 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/EVTDLY_c.xml @@ -0,0 +1,236 @@ + + + + + EVTDLY_c + Event delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Event delay + + + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + One event is generated Delay after an event enters the unique + input event port. The initial output event is also defined through parameters. + The event date of that block is computed by the formula : + + + t_i = t_{init} + i * T_{delay} + + + where t_{init}is the date of initial output event, T_{delay} + the delay and i the event occurrence. + + + + Dialog box + + + + + + + + + + + + + + Delay + + scalar. Time delay between input and output event. + Properties : Type 'vec' of size 1 + + + + Date of initial output event + + + scalar. If negative the block will never emit any output event (eg. disabled). + + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + evtdly4 + + + + + + Example + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/EVTDLY_c.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/evtdly4.c (Type 4) + + + + + See also + + + + CLOCK_c - Activation clock + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/EVTGEN_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/EVTGEN_f.xml new file mode 100755 index 000000000..8c367baa6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/EVTGEN_f.xml @@ -0,0 +1,205 @@ + + + + + EVTGEN_f + Event generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Event generator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + One event is generated on the unique output event port if Event time + is larger than equal to zero, if not, no event is generated. + + + + + Dialog box + + + + + + + + + + + + + + Event Time + + scalar. date of the initial event. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + trash + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/EVTGEN_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/trash.f (Type 0) + + + + + Event Gen example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/EVTVARDLY.xml b/modules/xcos/help/en_US/palettes/Events_pal/EVTVARDLY.xml new file mode 100755 index 000000000..c099ec94d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/EVTVARDLY.xml @@ -0,0 +1,215 @@ + + + + + EVTVARDLY + Event variable delay + + + Block Screenshot + + + + + + + + + + Contents + + + + Event variable delay + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + One event is generated Delay after an event enters the unique input + event port. + The value of the delay is read from the regular input port. + Block may also generate an initial output event. + + + + + Dialog box + + + + + + + + + + + + + + Initial event firing time + + One event is generated on the unique output event port if Event time is larger than equal to zero, if not, no event is generated. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + evtvardly + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/EVTVARDLY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/evtvardly.c (Type 4) + + + + + Event Variable Delay example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/Extract_Activation.xml b/modules/xcos/help/en_US/palettes/Events_pal/Extract_Activation.xml new file mode 100755 index 000000000..c812b3e3c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/Extract_Activation.xml @@ -0,0 +1,160 @@ + + + + + Extract_Activation + Extract_Activation block + + + Block Screenshot + + + + + + + + + + Contents + + + + Extract_Activation block + + + + + + + Palette + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/Extract_Activation.sci + + + + + Extract Activation example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/HALT_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/HALT_f.xml new file mode 100755 index 000000000..caac5a3f9 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/HALT_f.xml @@ -0,0 +1,196 @@ + + + + + HALT_f + Halt + + + Block Screenshot + + + + + + + + + + Contents + + + + Halt + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block has a unique input event port. Upon the arrival of an + event, the simulation is stopped and the main Xcos window is + activated. Simulation can be restarted or continued (Run button). + + + + + Dialog box + + + + + + + + + + + + + + State on halt + + A scalar value to be placed in the state of the block. For debugging purposes this allows to distinguish between different halts. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + hltblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/HALT_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/hltblk.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/IFTHEL_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/IFTHEL_f.xml new file mode 100755 index 000000000..a3b5d66a7 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/IFTHEL_f.xml @@ -0,0 +1,209 @@ + + + + + IFTHEL_f + Synchronous block If-Then-Else + + + Block Screenshot + + + + + + + + + + Contents + + + + Synchronous block If-Then-Else + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + One event is generated on one of the output event ports when an input + event arrives. Depending on the sign of the regular input, the event + is generated on the first or second output. + This is a Synchro block, , input and output event are synchronized. + + + + + Dialog box + + + + + + + + + + + + + + Inherit + + If no, then it inherits the event from event input port, elseif yes, then event is activated by regular input port. + Properties : Type 'vec' of size 1. + + + + Zero-crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type -1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 2 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + ifthel + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/IFTHEL_f.sci + + + + + If/Then example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/MCLOCK_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/MCLOCK_f.xml new file mode 100755 index 000000000..cbb8ea619 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/MCLOCK_f.xml @@ -0,0 +1,199 @@ + + + + + MCLOCK_f + MCLOCK_f title + + + Block Screenshot + + + + + + + + + + Contents + + + + Multiple Frequencies f/n + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + Add here a paragraph of the function description + + + + + + Dialog box + + + + + + + + + + + + + + Basic period (1/f) + + The parameter description 1. + Properties : Type 'vec' of size 1. + + + + Multiply by (n) + + The parameter description 2. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 2 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/MCLOCK_f.sci + + + + + MClock example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/MFCLCK_f.xml b/modules/xcos/help/en_US/palettes/Events_pal/MFCLCK_f.xml new file mode 100755 index 000000000..68d8da52d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/MFCLCK_f.xml @@ -0,0 +1,212 @@ + + + + + MFCLCK_f + MFCLCK_f title + + + Block Screenshot + + + + + + + + + + Contents + + + + Clock Frequency division + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + Add here a paragraph of the function description + + + + + + Dialog box + + + + + + + + + + + + + + basic period (1/f) + + The parameter description 1. + Properties : Type 'vec' of size 1. + + + + multiply by (n) + + The parameter description 2. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 2 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + mfclck + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/MFCLCK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/mfclck.f (Type 0) + + + + + MFCLCK_f example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/M_freq.xml b/modules/xcos/help/en_US/palettes/Events_pal/M_freq.xml new file mode 100755 index 000000000..2f55b80ac --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/M_freq.xml @@ -0,0 +1,263 @@ + + + + + M_freq + Multiple Frequencies + + + Block Screenshot + + + + + + + + + + Contents + + + + Multiple Frequencies + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This blocks generates events at specific sample time of the simulation time. The sample time is given in the "Sample Time" field and the offset is given in the "Offset" field. This block has one event input, the number of event outputs depends on the number of different sample time. For example if the vector of sample time is [1 1 2] and the vector of offset is [0 .5 0] then the block has 7 outputs. + + - The first output is activated when the simulation time is equal to a multiple of the first sample time plus the first offset + + - The second output is activated when the simulation time is equal to a multiple of the second sample time plus the second offset. + + - The third output is activated when we have both cases, first case and second case. + + - The fourth output is activated when the simulation time is equal to a multiple of the third sample time plus the third offset. + + - The fifth output is activated when we have both cases, first case and forth case. + + - The sixth output is activated when we have both cases, second case and fourth case. + + - The seventh output is activated when we have both cases, third case and forth case. + + + etc... + + + So the number of outputs is equal to 2**number of different time values. Each of these time values is represented by a binary number associated to the output's number in decimal. + + + + + + Dialog box + + + + + + + + + + + + + + Sample time + + Vector of sample time values. + Properties : Type 'vec' of size -1. + + + + Offset + + Vector of offset values. Must have the same size as the Sample time and each offset value must be less than its corresponding sample time. + Properties : Type 'vec' of size -1. + + + + + Example + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 3 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + m_frequ + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/M_freq.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/m_frequ.c (Type 4) + + + + + Multiple frequency example + + + + + + + + + + See also + + + + MFCLCK_f - MFCLCK_f title + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/VirtualCLK0.xml b/modules/xcos/help/en_US/palettes/Events_pal/VirtualCLK0.xml new file mode 100755 index 000000000..7be5514b0 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/VirtualCLK0.xml @@ -0,0 +1,157 @@ + + + + + VirtualCLK0 + Triggered Always Active Blocks + + + Block Screenshot + + + + + + + + + + Contents + + + + Triggered Always Active Blocks + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is considered a virtual block by the compilor. It is used in a SuperBlock (subsystem) to trigger the always active blocks (ex: the sine generator) in the SuperBlock and in the level below. The blocks will be virtually connected to the input of the VirtualCLK0. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + vrtclk0 + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Events/VirtualCLK0.sci + + + + + diff --git a/modules/xcos/help/en_US/palettes/Events_pal/freq_div.xml b/modules/xcos/help/en_US/palettes/Events_pal/freq_div.xml new file mode 100755 index 000000000..ab711e471 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Events_pal/freq_div.xml @@ -0,0 +1,209 @@ + + + + + freq_div + Frequency division + + + Block Screenshot + + + + + + + + + + Contents + + + + Frequency division + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Event handling palette + + + + + + Description + + This block is a Super Block. The input event is directed once every n + times to output. The input is driven by an event clock. + + + + + Dialog box + + + + + + + + + + + + + + Phase + + positive scalar. + Properties : Type 'vec' of size 1 + + + + Division factor + + an integer greater than 1. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/freq_div.sci + + + + + Example + + The following example divides a frequency per three. + + + + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Implicit_pal/AA_Implicit_pal.xml b/modules/xcos/help/en_US/palettes/Implicit_pal/AA_Implicit_pal.xml new file mode 100755 index 000000000..83268a557 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Implicit_pal/AA_Implicit_pal.xml @@ -0,0 +1,73 @@ + + + + + Implicit_pal + Implicit palette + + + Block Screenshot + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + In the Implicit palette, you can find blocks used to model implicit systems. + + + Blocks + + + + CONSTRAINT_c - Constraint + + + + + DIFF_f - Sum + + + + + diff --git a/modules/xcos/help/en_US/palettes/Implicit_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Implicit_pal/CHAPTER new file mode 100755 index 000000000..fed91cfde --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Implicit_pal/CHAPTER @@ -0,0 +1 @@ +title = Implicit palette diff --git a/modules/xcos/help/en_US/palettes/Implicit_pal/CONSTRAINT_c.xml b/modules/xcos/help/en_US/palettes/Implicit_pal/CONSTRAINT_c.xml new file mode 100755 index 000000000..4e188e5d7 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Implicit_pal/CONSTRAINT_c.xml @@ -0,0 +1,210 @@ + + + + + CONSTRAINT_c + Constraint + + + Block Screenshot + + + + + + + + + + Contents + + + + Constraint + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Implicit palette + + + + + + Description + + Defines implicit algebraic relations. + + + + + Dialog box + + + + + + + + + + + + + + Set number of constraints + + no of algebraic relations to be defined. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: yes + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + constraint + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/CONSTRAINT_c.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/constraint.f (Type 10001) + + + + diff --git a/modules/xcos/help/en_US/palettes/Implicit_pal/DIFF_f.xml b/modules/xcos/help/en_US/palettes/Implicit_pal/DIFF_f.xml new file mode 100755 index 000000000..41f3b228d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Implicit_pal/DIFF_f.xml @@ -0,0 +1,233 @@ + + + + + DIFF_f + Derivative + + + Block Screenshot + + + + + + + + + + Contents + + + + Derivative + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + + + + Palette + + + + Implicit palette + + + + + + Description + This block computes the derivative of the input. + + + + Dialog box + + + + + + + + + + + + Initial state + + The initial continuous state. + Properties : Type 'vec' of size 1. + + + + Initial Derivative + + The initial derivative state. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + yes + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + diffblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/DIFF_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/diffblk.f (Type + 10001) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/AA_Integer_pal.xml b/modules/xcos/help/en_US/palettes/Integer_pal/AA_Integer_pal.xml new file mode 100755 index 000000000..3e8566e33 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/AA_Integer_pal.xml @@ -0,0 +1,168 @@ + + + + + Integer_pal + Integer palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + That palette is dedicated to handle integer numbers. Various basic + operators for the management of bit fields and for logic are implemented + as well as common gates encountered in digital circuits. + + + + Blocks + + + + BITCLEAR - Clear a Bit + + + + + BITSET - Set a Bit + + + + + CONVERT - Data Type Conversion + + + + + DFLIPFLOP - D Flip-Flop + + + + + DLATCH - Transparent D Latch Flip-Flop + + + + + EXTRACTBITS - Bits Extraction + + + + + INTMUL - Integer Matrix Multiplication + + + + + JKFLIPFLOP - JK Flip-Flop + + + + + LOGIC - Combinatorial Logic + + + + + SHIFT - Shift/Rotates Bits + + + + + SRFLIPFLOP - SR Flip-Flop + + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/BITCLEAR.xml b/modules/xcos/help/en_US/palettes/Integer_pal/BITCLEAR.xml new file mode 100755 index 000000000..5c3ed727d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/BITCLEAR.xml @@ -0,0 +1,316 @@ + + + + + BITCLEAR + Clear a Bit + + + Block Screenshot + + + + + + + + + + Contents + + + + Clear a Bit + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block sets to 0 the specified bit of its input. + The user gives the bit index in the field Index of Bit + with index 0, as that of the least significant bit.The operation can be + summarized by this expression: + + + + + + i.e. a bitwise AND between Input and + Mask, an integer of the same length as the input with a value + 0 for the bit to clear and a value 1 + for the other bits. + + + + Data types + + The block supports the following types : + + + + + Input : scalar. All Scilab's integer type (Data type parameter). + + + + + Output : same type and dimensions than input. + + + + + + Dialog box + + + + + + + + + + + + Data Type (3=int32 4=int16 5=int8 ...) + + + It indicates the integer type of the input (output) data : between 3 and 8. + + Properties : Type 'vec' of size 1. + + + + Index of Bit (0 is least significant) + + It indicate the index of the bit to clear. The index must be, when the type is: + + + + int32 or uint32: positive and less than 32. + + + + + int16 or uint16: positive and less than 16. + + + + + int8 or uint8: positive and less than 8. + + + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + bit_clear_32 + + + + + + Example + + Below a simple use case of the block. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/BITCLEAR.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/bit_clear_32.c + + + SCI/modules/scicos_blocks/src/c/bit_clear_16.c + + + SCI/modules/scicos_blocks/src/c/bit_clear_8.c + + + + + See also + + + BITSET + + + EXTRACTBITS + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/BITSET.xml b/modules/xcos/help/en_US/palettes/Integer_pal/BITSET.xml new file mode 100755 index 000000000..b81ea63f8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/BITSET.xml @@ -0,0 +1,316 @@ + + + + + BITSET + Set a Bit + + + Block Screenshot + + + + + + + + + + Contents + + + + Set a Bit + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block sets to 1 the specified bit of its input. The user gives + the bit index in the field Index of Bit with index 0, as that of the least significant bit.The operation can be summarized + by this expression: + + + + + + i.e. a bitwise OR between Input and + Mask, an integer of the same length as the input with a value + 1 for the bit to set and a value 0 + for the other bits. + + + + + Data types + + The block supports the following types : + + + + + Input : scalar. All Scilab's integer type (Data Type parameter). + + + + + Output : scalar. Same type than input. + + + + + + Dialog box + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5int8, ...) + + + It indicates the integer type of the input (output) data: between 3 and 8. + + Properties : Type 'vec' of size 1. + + + + Index of Bit (0 is least significant) + + It indicate the index of the bit to set. The index must be, when the type is: + + + + int32 or uint32: positive and less than 32. + + + + + int16 or uint16: positive and less than 16. + + + + + int8 or uint8: positive and less than 8. + + + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + bit_set_32 + + + + + + Example + + Below a simple use case of the block. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/BITSET.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/bit_set_32.c + + + SCI/modules/scicos_blocks/src/c/bit_set_16.c + + + SCI/modules/scicos_blocks/src/c/bit_set_8.c + + + + + See also + + + BITCLEAR + + + EXTRACTBITS + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Integer_pal/CHAPTER new file mode 100755 index 000000000..e71a0233e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/CHAPTER @@ -0,0 +1 @@ +title = Integer palette diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/CONVERT.xml b/modules/xcos/help/en_US/palettes/Integer_pal/CONVERT.xml new file mode 100755 index 000000000..a2994a312 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/CONVERT.xml @@ -0,0 +1,352 @@ + + + + + CONVERT + Data Type Conversion + + + Block Screenshot + + + + + + + + + + Contents + + + + Data Type Conversion + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Commonly used blocks palette + + + + + + Description + + This block converts an input signal of real double or integer data type to an integer + or real double data type. This block is particularly useful to connect a block which + accepts or produces only integer data type with another block which produces or + accepts only double data type. + + + It can be also use to get the least significant half of the input by a downgrade + conversion like int16 to int8. For this use case and if you do not want a type + conversion, you can also use the EXTRACTBITS block + with the Bits to extract parameter set to + Lower half. + + + For an upgrade conversion of a signed integer to another signed integer, the sign + bit is propagated. + + + When the output is an integer and when overflow occurs the block gives three different + forms of results : + + + + + A normal non saturated result. By example, if type is int8 and the result is 128, + the block output value will be -128. + + + + + A saturated result. For the previous example the block output value will be 127 + + + + + An error message warning the user about the overflow. + + + + + The user can select one of these three forms by setting the + Do on Overflow + field to 0, 1 or 2. + + + + Data types + + The block supports the following types : + + + + + Input : Scilab's integer and real double data types + (Input Type parameter). + + + + + Output : Scilab's integer and real double data types + (Output Type parameter). + + + + + + Dialog box + + + + + + + + + + + + Input Type (1: double, 3:int32, 4:int16, 5:int8, ...) + + + It indicates the input data type that it can be a double or an integer: Between 1 and 8. + + Properties : Type 'vec' of size 1. + + + + Output Type (1: double, 3:int32, 4:int16, 5:int8, ...) + + + It indicates the output data type that can be a double or an integer: Between 1 and 8. + + Properties : Type 'vec' of size 1. + + + + Do on Overflow (0:Nothing, 1:Saturate, 2:Error) + + + Between 0 and 2. When there are an overflowing, if parameter is equal to : + + + + + 0 : the result is non saturated. + + + + + 1 : the result is saturated. + + + + + 2 : the simulation displays en error message. + + + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + convert + + + + + + Example + + This example shows the sign bit's propagation during a conversion from int8 to int16. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/CONVERT.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/convert.c + + + + + See also + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/DFLIPFLOP.xml b/modules/xcos/help/en_US/palettes/Integer_pal/DFLIPFLOP.xml new file mode 100755 index 000000000..f828d424b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/DFLIPFLOP.xml @@ -0,0 +1,375 @@ + + + + + DFLIPFLOP + D flip-flop + + + Block Screenshot + + + + + + + + + + Contents + + + + D flip-flop + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Default properties + + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + That block outputs on Q its input state (D) when the enable input (en) is set + and on the rising edge of the clock input (clk). + The !Q output is the logical negation of Q. + This flip-flop is also known as a delay flip-flop because the state of the input is modified + only at the next rising edge of the clock. + + + The D flip-flop is used as a basic cell of shift-registers. + + + The truth table of this block is the following: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Non-Rising + + + + + + + + + + + + + + + + where + + X + + stands for "indifferent" and + + Qn-1 + + + is the previous output state of + + Qn + + + . + + + + Data types + + The block supports the following types : + + + + + Inputs: + + + + + D: scalar. Scilab's int8 data type only. + + + + + en: scalar. Scilab's real double. + + + + + clk: scalar. Scilab's real double. + + + + + A positive input is considered as logical 1, a negative or a null input as logical 0. + + + + + Outputs : scalar. Scilab's int8 data type. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/DFLIPFLOP.sci + + + + + + See also + + + DLATCH + + + SRFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/DLATCH.xml b/modules/xcos/help/en_US/palettes/Integer_pal/DLATCH.xml new file mode 100755 index 000000000..c266bfb59 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/DLATCH.xml @@ -0,0 +1,356 @@ + + + + + DLATCH + D latch flip-flop + + + Block Screenshot + + + + + + + + + + Contents + + + + D latch flip-flop + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Default properties + + + + + Interfacing function + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block copies its input state (D) on the output + (Q) when the enable input (C) + is high and in this configuration it appears as transparent. The !Q output is the logical negation of Q + + + When the enable input goes low, the output keeps its previous state and acts like a memory. + + + This block can be typically used in I/O ports. + + + The truth table of the block is the following ones: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No changes + + + + + + + + + + + + + + + Reset + + + + + + + + + + + + + + + Set + + + + where + + X + + means "indifferent" and + + Qn-1 + + + the previous state of + + Qn + + + . + + + + Data types + + The block supports the following types : + + + + + Inputs: + + + + + D: scalar. Scilab's int8 data type only. + + + + + C: scalar. Scilab's real double. + + + + + A positive input is considered as logical 1, a negative or a null input as logical 0. + + + + + Ouputs: scalar. Scilab's int8 data type. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type -1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Example + + The following figure shows a simple use case of the DLATCH block with + its timing diagram. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/DLATCH.sci + + + + + + See also + + + DFLIPFLOP + + + SRFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/EXTRACTBITS.xml b/modules/xcos/help/en_US/palettes/Integer_pal/EXTRACTBITS.xml new file mode 100755 index 000000000..e82f75fe4 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/EXTRACTBITS.xml @@ -0,0 +1,659 @@ + + + + + EXTRACTBITS + Bits Extraction + + + Block Screenshot + + + + + + + + + + Contents + + + + Bits extraction + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + For an integer input this block outputs a contiguous selection of bits. The operation can be + summarized by this expression: + + + + + + i.e. a bitwise AND between Input and + Mask an integer of the same length as input with the bits to extract + set to 1 and the other bits set to 0. + Bits to Extract parameter defines the method by which the + user selects the output bits as summarized by the following table with index + 0, as that of the least significant bit : + + + + + + Bits to Extract + + + Output + + + Number of Bits or Index of Bit + + + + + Upper Half + + Half of the input that contain the most significant bit + Ignored + + + + Lower Half + + Half of the input that contain the least significant bit + Ignored + + + + Range from MSB + + + Number of Bits or Index of Bit bits of the input that + contain the most significant bit (MSB) + + + Number of bits to extract. + + + + + Range to LSB + + + Number of Bits or Index of Bit bits of the input that + contain the least significant bit (LSB) + + + Number of bits to extract. + + + + + Range of bits + + + Range of bits of the input between the indexes of the bits Start and + End of Number of Bits or Index of Bit parameter. + + + Vector with the format [Start, End] where start + the first bit index and end the last bit index. + + + + + The output value depends also on the forth parameter + Treat Bit Field as an Integer : + + + + + 0 : the output is directly the result of extraction. + + + + + + 1 : the output is the integer conversion of the extraction + result according to the signed or non-signed status of the input. + + + + + + Data types + + The block supports the following types : + + + + + Input : scalar. All Scilab's integer type (Data Type parameter). + + + + + + Output : same type than input. + + + + + + Dialog box + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + It indicates the integer type on input: Between 3 and 8. + + Properties : Type 'vec' of size 1. + + + + Bits to Extract + + + It indicates the mode used to extract bits from the input data : Between 1 and 5 (1:Upper Half, + 2:Lower Half, 3:Range from MSB, 4:Range to LSB, 5:Range of bits) + + Properties : Type 'vec' of size 1. + + + + Number of Bits or Index of Bit + + + When the Bits to Extract field is set to : + + + + + 1 or 2, this parameter is ignored. + + + + + 3 or 4, this parameter is used to determine the number of bits to extract. This number + must be if the type is : + + + + + int32 or uint32: positive and less than 32. + + + + + int16 or uint16: positive and less than 16. + + + + + int8 or uint8: positive and less than 8. + + + + + + + 5, this parameter is used to determine range of bits to extract and it must have the [Start, End] form vector. Start must be less than End. + These values must be, if the type is: + + + + + int32 or uint32: positive and less than 32. + + + + + int16 or uint16: positive and less than 16. + + + + + int8 or uint8: positive and less than 8. + + + + + + See description for more information + Properties : Type 'vec' of size -1. + + + + Treat Bit Field as an Integer (0:No, 1:Yes) + + + 0 or 1. It indicates the scaling mode to use on the output bits selection. + See description for more explanation. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + extract_bit_32_UH0 + + + + + + Example + + In the following table, we present the results obtained for the number 215 according to several + combinations of the parameters. + + + + + + Input + + + Bits to Extract + + + Number of Bits or Index of Bit + + + Treat Bit Field as an Integer + + + Output + + + + 11010111 (215) + Upper Half + Ignored + no + 01100000 (208) + + + 11010111 (215) + Upper Half + Ignored + yes + 00001101 (13) + + + 11010111 (215) + Lower Half + Ignored + no + 00000111 (7) + + + 11010111 (215) + Lower Half + Ignored + yes + 00000111 (7) + + + 11010111 (215) + Range starting with MSB + 6 + no + 11010100 (212) + + + 11010111 (215) + Range starting with MSB + 6 + yes + 00110101 (53) + + + 11010111 (215) + Range starting with LSB + 6 + no + 00010111 (23) + + + 11010111 (215) + Range starting with LSB + 6 + yes + 00010111 (23) + + + 11010111 (215) + Range of bits + [ 2, 5 ] + no + 00010100 (20) + + + 11010111 (215) + Range of bits + [ 2, 5 ] + yes + 00000101 (5) + + + 11010111 (-41) + Upper half + Ignored + no + 11010000 (-48) + + + 11010111 (-48) + Upper half + Ingnored + yes + 11111101 (-3) + + + + In the following diagram, two decimal digit numbers are coded on an only byte. + The diagram decode the input to obtain two separate digits. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/EXTRACTBITS.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_RB1.c + + + + + See also + + + BITSET + + + BITCLEAR + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/INTMUL.xml b/modules/xcos/help/en_US/palettes/Integer_pal/INTMUL.xml new file mode 100755 index 000000000..82b30f615 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/INTMUL.xml @@ -0,0 +1,382 @@ + + + + + INTMUL + Integer matrix multiplication + + + Block Screenshot + + + + + + + + + + Contents + + + + Integer matrix multiplication + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + That block computes the matrix multiplication of two integer input matrices. The number of rows + of the second matrix must be equal to the number of columns of the first matrix. + + + The output is a matrix where the number of rows is equal to the number of rows of the first input + matrix and the number of columns is equal to the number of columns of the second input matrix. + + On overflow, the result can take different forms: + + + + A normal non saturated result. By example, if type is int8 and the result is 128, the block output value will be -128. + + + + + A saturated result. For the previous example the block output value will be 127 + + + + + An error message warning the user about the overflow. + + + + + The user can select one of these three forms by setting the + Do on Overflow + field to 0, 1 or 2. + + + + Data types + + The block supports the following types : + + + + + Input : matrices, vectors or scalars. Scilab's integer data types (Data Type parameter). + + + + + + Output : same type that the inputs. + + + + + + Dialog box + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + It indicates the type of the input/output data : between 3 and 8. + + Properties : Type 'vec' of size 1. + + + + Do on Overflow (0:Nothing, 1:Saturate, 2:Error) + + + Between 0 and 2. When there are an overflowing, if parameter is equal to : + + + + + 0 : the result is non saturated. + + + + + 1 : the result is saturated. + + + + + 2 : the simulation displays en error message. + + + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 3 + + + - port 2 : size [-2,-3] / type 3 + + + + + regular outputs: + + + - port 1 : size [-1,-3] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + matmul_i32 + + + + + + Example + + The goal of this example is to code two decimals digits in an only byte. It makes exactly the inverse work of the example of + the EXTRACTBITS block. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/INTMUL.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/matmul_i32n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i32s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i32e.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16e.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8e.c + + + + + See also + + + MATMUL + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP.xml b/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP.xml new file mode 100755 index 000000000..16770b6b1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP.xml @@ -0,0 +1,215 @@ + + + + + JKFLIPFLOP + + + + Block Screenshot + + + + + + + + + + Contents + + + + JK flip-flop + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Examples + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + + Dialog box + + + + + + + + + + + + Initial Value + + + Initial state of the Q output. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/JKFLIPFLOP.sci + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP_content.dbk b/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP_content.dbk new file mode 100755 index 000000000..8468f2795 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/JKFLIPFLOP_content.dbk @@ -0,0 +1,246 @@ + + + + + JKFLIPFLOP + JK flip-flop + + + Description + + The JK flip flop is the most versatile of the basic flip-flops. It has two inputs traditionally labeled + J (Set) and K (Reset). + + + + + When the inputs J and K + are different, the output Q takes the value of + J at the next falling edge. + + + + + + When the inputs J and K are both low, no change occurs in the output state. + + + + + + When the inputs are both high the output Q will toggle from + one state to other. It can perform the functions of the set/reset (SR) flip-flop and has the advantage that there are no ambiguous states. + + + + + The !Q output is the logical negation of Q + + + It can also act as a T flip-flop to accomplish toggling action if J + and K are tied together. This toggle application finds extensive use + in binary counters. + + + The user can set the initial output state with Initial Value + parameter. + + The truth table of this block is: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hold + + + + + + + + + + + + + + + Reset + + + + + + + + + + + + + + + Set + + + + + + + + + + + + + + + Toggle + + + + where + + Qn-1 + + + is the previous state of + + Qn + + + . + + + Data types + + The block supports the following types : + + + + + Inputs: + + + + + J: scalar. Scilab's int8 data type only. + + + + + clk: scalar. Scilab's real double. + + + + + K: scalar. Scilab's int8 data type only. + + + + + A positive input is considered as logical 1, a negative or a null input as logical 0. + + + + + + Outputs: scalar. Scilab's int8 data type. + + + + + + + Example + + The following example builds a 3 bits asynchronous counter with JK flipflops wired as T flipflops. You can show on the + right the timing diagram of the + + Q0 + + + to + + Q2 + + + outputs of counter. + + + + + + + + + + + + + + See also + + + DLATCH + + + DFLIPFLOP + + + SRFLIPFLOP + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/LOGIC.xml b/modules/xcos/help/en_US/palettes/Integer_pal/LOGIC.xml new file mode 100755 index 000000000..a1536892a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/LOGIC.xml @@ -0,0 +1,484 @@ + + + + + LOGIC + Combinatorial Logic + + + Block Screenshot + + + + + + + + + + Contents + + + + Combinatorial Logic + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Examples + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block implements a standard truth table for modeling programming array, digital circuit and any other boolean expressions. + + + The user must specify a matrix that defines all the possible block outputs in the + Truth Table field. In consequence, the number of rows must be a power of two. + Each row of the matrix contains a logic combination of input elements. + + + Setting the parameter Truth Table defines the number of inputs + and outputs in the following way : + + + + + The number of inputs is defined by the equation: + + + + + + + + + + The number of outputs is equal to the number of columns of the matrix. + + + + + This block can be activated by an implicit input event or it can inherit the clock + from the regular input (parameter Accepts Inherited Events). + + + + + Data types + + The block supports the following types : + + + + + Input : scalar. All Scilab's integer data type. + + + A positive input is considered as logical 1, a negative or a null input as logical 0. + + + + + + Output : same type and dimensions than input. + + + + + + Dialog box + + + + + + + + + + + + + Truth Table + + + The matrix of outputs. The elements must be 0 or 1. For more information see the description part. + + Properties : Type 'mat' of size [-1,-2]. + + + + Accepts Inherited Events (0:No, 1:Yes) + + Specifies if the clock is inherit or not. 0 or 1 + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + logic + + + + + + Examples + + Example 1 + + The easiest example to consider is the OR example.In this case we have two inputs and only one output. The truth table for + this example is : + + + + + + input 1 + + + input 2 + + + output + + + + 0 + 0 + 0 + + + 0 + 1 + 1 + + + 1 + 0 + 1 + + + 1 + 1 + 1 + + + + and the Truth Table parameter is writing : + + + + + + Example 2 + + This example shows the use of LOGIC bloc as a demultiplexer. The goal is to send the true + constant input on one of the four outputs according to the state of the two selection inputs: + a and b. + The truth table is the following: + + + + + + Constant + + + a + + + b + + + Q0 + + + Q1 + + + Q2 + + + Q3 + + + + 0 + X + X + 0 + 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + 0 + 0 + 0 + + + 1 + 0 + 1 + 0 + 1 + 0 + 0 + + + 1 + 1 + 0 + 0 + 0 + 1 + 0 + + + 1 + 1 + 1 + 0 + 0 + 0 + 1 + + + where X stands for "indifferent". + + To set this table in the Truth Table parameter, we can + simply write: + + + + + + The following figure shows the resulting outputs + + Q0 + + + à + + Q3 + + + during the simulation when the selection + inputs + + a + + and + + b + + are + generated by a binary counter. + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/LOGIC.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/logic.c + + + + + See also + + + BITSET + + + BITCLEAR + + + LOGICAL_OP + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/SHIFT.xml b/modules/xcos/help/en_US/palettes/Integer_pal/SHIFT.xml new file mode 100755 index 000000000..db85b5958 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/SHIFT.xml @@ -0,0 +1,566 @@ + + + + + SHIFT + Shift/Rotates Bits + + + Block Screenshot + + + + + + + + + + Contents + + + + Shift/Rotate Bits + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default + properties + + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block shifts the bits of the input signal. In this operation the digits are moved to the + right or to the left. The user can choose the rule to shifts the bits that can be normal or cycle + by setting the Shift Type parameter to 0 or 1. The number and + the direction of the shifts are set with the Number of Bits to Shift Left. + If this number is positive the input is shifted to the left, otherwise it is shifted to the right. + + + When the Shift Type parameter is : + + + + + 0 : an arithmetic shift is applied to the input signal. + In this case, the bits that are shifted out of either end are discarded. Zeros are shifted + in on the right, in the case of left shift; in the case of right shifts, copies of the sign + bit is shifted in on the left. + + + By example, the one bit shift right gives: + + + + + + ; + +up; +arrow at Last.n; +.PE + ]]> + + + and the one bit shift left gives: + + + + + + + + + + + + + 1 : a circular shift is applied to the input signal. + In this case, the bits are rotated as if the left and right ends of the register are joined. + The value that is shifted in on the right during a left-shift is whatever values was shifted + out on the left, and vice versa. + + + By example, the one bit rotation right gives: + + + + + + ; + +.PE + ]]> + + + and the one bit rotation left gives: + + + + + + ; + +.PE + ]]> + + + . + + + + + The shift register makes a multiplication by + + 2n + + (arithmetic left shift) or an integer division by + + 2n + + (arithmetic right shift), where n is the number of bit shifts. + It can also be used to serialize data or to create a memory buffer. + + + + Data types + + The block supports the following types : + + + + + Input : scalar. All Scilab's integer type (Data Type parameter). + + + + + + Output : same type and dimensions than input. + + + + + + Dialog box + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + It indicates the type of the input/output : between 3 and 8. + + Properties : Type 'vec' of size 1. + + + + Number of Bits to Shift Left (Negative number to shift right) + + + It indicates the number of bits the input signal is shifted/rotated. A positive value indicates + a shift left, a negative value a shift right. The index must be, when the type is : + + + + + int32 or uint32: positive and less than 32. + + + + + int16 or uint16: positive and less than 16. + + + + + int8 or uint8: positive and less than 8. + + + + Properties : Type 'vec' of size 1. + + + + Shift Type (0:Arithmetic, 1:Circular) + + + O or 1. It indicates the rule used to shift the bits. It can be arithmetic or circular. + When it is : + + + + + 0, an arithmetic shift is applied to the input signal. + + + + + 1, a circular shift is applied to the input signal. + + + + See description for more information. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + shift_32_LA + + + + + + Example + + In this example the Super block is a binary counter with 3 bits output. In order to obtain the corresponding decimal value, + the outputs + + Q1 + + + and + + Q2 + + + of the counter are respectively shifted left + of one bit and of two bits. Finally the + + Q0 + + + output, + and the shifted outputs are added. + + + To better see the output change, set the parameter Real Time Scale to 0.5 + in the Settings menu item of the Simulation menu. + + + + + + + + + + + + Below the details of the binary counter. + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/SHIFT.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/shift_32_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_32_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_32_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u32_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_32_RC.c + + + SCI/modules/scicos_blocks/src/c/shift_16_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_16_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_16_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u16_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_16_RC.c + + + SCI/modules/scicos_blocks/src/c/shift_8_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_8_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_8_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u8_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_8_RC.c + + + + + See also + + + BITSET + + + BITCLEAR + + + + diff --git a/modules/xcos/help/en_US/palettes/Integer_pal/SRFLIPFLOP.xml b/modules/xcos/help/en_US/palettes/Integer_pal/SRFLIPFLOP.xml new file mode 100755 index 000000000..e148c9890 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Integer_pal/SRFLIPFLOP.xml @@ -0,0 +1,419 @@ + + + + + SRFLIPFLOP + SR flip-flop + + + Block Screenshot + + + + + + + + + + Contents + + + + SR flip-flop + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Integer palette + + + + + + Description + + This block describes the simplest and the most fundamental latch the SR flip flop. The + output Q depends of the state of the inputs + S and R. The output + !Q is the logical negation of + Q + + + + + If S (Set) is pulsed high while + R is held low, then the + Q output is forced high, and stays high when + S returns low. + + + + + + if R (Reset) is pulsed high while + S is held low, then the + Q output is forced low, and stays low when + R returns low. + + + + + + When S and R are low, + Q(t) takes the value of the previous output state + Q(t-1). + + + + + + When S and R are both high, + both Q and !Q + take the low or high values; the state is unstable. Practically this case is forbidden. + + + + + The user can set the initial output state with Initial Value + parameter. + + This block is almost used as a memory + + The truth table of this block is: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Hold + + + + + + + + + + + + + + + Reset + + + + + + + + + + + + + + + Set + + + + + + + + + + + + + + + Forbidden state + + + + where + + U + + stands for "Unknown". + + + + Data types + + The block supports the following types : + + + + + Inputs: + + + + + R: scalar. Scilab's int8 data type only. + + + + + S: scalar. Scilab's int8 data type only. + + + + + A positive input is considered as logical 1, a negative or a null input as logical 0. + + + + + + Outputs: scalar. Scilab's int8 data type. + + + + + + Dialog box + + + + + + + + + + + + Initial Value + + Initial Value of the state Q. It must be int8 data type. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Example + + The following example presents a typical anti-bouncing application of the SR flipflop. The + output graph shows the memory effect of the flipflop. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/IntegerOp/SRFLIPFLOP.sci + + + + + + See also + + + DLATCH + + + DFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/en_US/palettes/Lookuptables_pal/AA_Lookuptables_pal.xml b/modules/xcos/help/en_US/palettes/Lookuptables_pal/AA_Lookuptables_pal.xml new file mode 100755 index 000000000..46d4cf409 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Lookuptables_pal/AA_Lookuptables_pal.xml @@ -0,0 +1,85 @@ + + + + + Lookuptables_pal + Lookup tables palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The lookup tables palette includes blocks that compute output + approximations from inputs. + + + + Blocks + + + + INTRP2BLK_f — 2D interpolation + + + + + INTRPLBLK_f — Linear interpolation + + + + + LOOKUP_f — Lookup table + + + + + diff --git a/modules/xcos/help/en_US/palettes/Lookuptables_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Lookuptables_pal/CHAPTER new file mode 100755 index 000000000..f61368e86 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Lookuptables_pal/CHAPTER @@ -0,0 +1 @@ +title = Lookup tables palette diff --git a/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRP2BLK_f.xml b/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRP2BLK_f.xml new file mode 100755 index 000000000..8428da674 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRP2BLK_f.xml @@ -0,0 +1,228 @@ + + + + + INTRP2BLK_f + 2D interpolation + + + Block Screenshot + + + + + + + + + + Contents + + + + 2D interpolation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Lookup tables palette + + + + + + Description + + The output of this block is a function of the inputs obtained by bilinear interpolation. This block has two scalar inputs and a single scalar output. The X(i) and Y(i) give respectively the X coordinate and the Y coordinate of the i-th data point to be interpolated and Z(Y(i),X(i)) its value. + + + + Dialog box + + + + + + + + + + + + + + X coord. + + an n-vector (strictly increasing). + Properties : Type 'vec' of size -1 + + + + Y coord. + + an m-vector (strictly increasing). + Properties : Type 'vec' of size -1 + + + + Z values + + + an $m \times n$ matrix. + + Properties : Type 'mat' of size [-1,-1] + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + intrp2 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/INTRP2BLK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/intrp2.f (Type 1) + + + + diff --git a/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRPLBLK_f.xml b/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRPLBLK_f.xml new file mode 100755 index 000000000..841ed26e3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Lookuptables_pal/INTRPLBLK_f.xml @@ -0,0 +1,253 @@ + + + + + INTRPLBLK_f + Interpolation + + + Block Screenshot + + + + + + + + + + Contents + + + + Interpolation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Lookup tables palette + + + + + + Description + The output of this block is a function of the input obtained by linear + interpolation. This block has a single scalar input and a single scalar + output port. The coord. and coord. give respectively the + coordinate and the coordinate of the data points to be interpolated. + + + The parameter vectors should be sorted (strictly increasing). + + + + Dialog box + + + + + + + + + + + + + + X coord. + + A vector (strictly increasing). + Properties : Type 'vec' of size -1 + + + + Y coord. + + + A vector (same size as X coord). + + Properties : Type 'vec' of size -1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + intrpl + + + + + + Example + + The following example translate the sine input signal to a different range and cut part of it. + + + X=\{-1.0;-0.5;0;0.5;1.0\}\ Y=\{-6;-6;0;0;6\} + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/NonLinear/INTRPLBLK_f.sci + + + + + + See also + + + INTRP2BLK_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Lookuptables_pal/LOOKUP_f.xml b/modules/xcos/help/en_US/palettes/Lookuptables_pal/LOOKUP_f.xml new file mode 100755 index 000000000..7f3a4e7e1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Lookuptables_pal/LOOKUP_f.xml @@ -0,0 +1,184 @@ + + + + + LOOKUP_f + Lookup table + + + Block Screenshot + + + + + + + + + + Contents + + + + Lookup table + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Lookup tables palette + + + + + + Description + + This block realizes a non-linear function defined using a graphical + editor. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + lookup + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/LOOKUP_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/lookup.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml new file mode 100755 index 000000000..9ad5cc95a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml @@ -0,0 +1,275 @@ + + + + + Mathoperations_pal + Math operations palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + The Math operations palette contains blocks that model general mathematical functions. + + + + Blocks + + + + ABS_VALUE — Absolute value + + + + + BIGSOM_f — Scalar/Vector Addition/Subtraction + + + + + COSBLK_f — Cosine + + + + + EXPBLK_m — Exponential of a scalar + + + + + GAINBLK_f — Gain + + + + + INVBLK — Inverse + + + + + LOGBLK_f — Logarithm + + + + + MATMAGPHI — Complex from/to Magnitude and Angle Conversion + + + + + MATZREIM — Complex decomposition/composition + + + + + MAX_f — Maximum value of a vector's elements + + + + + MAXMIN — Maximum or minimum value of vectors's elements + + + + + MIN_f — Minimum value of a vector's elements + + + + + POWBLK_f — Array power + + + + + PROD_f — Element-wise vector product + + + + + PRODUCT — Element-wise vector multiplication/division + + + + + SIGNUM — Signum + + + + + SINBLK_f — Sine + + + + + SQRT — Square root + + + + + SUM_f — Addition + + + + + SUMMATION — Matrix Addition/Subtraction + + + + + TANBLK_f — Tangent + + + + + TrigFun — Trigonometric function + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/ABS_VALUE.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/ABS_VALUE.xml new file mode 100755 index 000000000..36a59a0dd --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/ABS_VALUE.xml @@ -0,0 +1,229 @@ + + + + + ABS_VALUE + Absolute value + + + Block Screenshot + + + + + + + + + + Contents + + + + Absolute value + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + That block computes the absolute value of the elements of the input vector. + + + + Dialog box + + + + + + + + + + + + + Use zero_crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + absolute_value + + + + + + Example + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/ABS_VALUE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/absolute_value.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/BIGSOM_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/BIGSOM_f.xml new file mode 100755 index 000000000..5536035d5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/BIGSOM_f.xml @@ -0,0 +1,293 @@ + + + + + BIGSOM_f + Scalar or vector Addition/Soustraction + + + Block Screenshot + + + + + + + + + + Contents + + + + Sum + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block performs addition or soustraction on its scalar or vector inputs.The user can adjust + the gain for each input with the parameter Inputs ports signs/gain. + The behavior of the block is summarized in the following table : + + + + + + Number of inputs + + + Operation + + + Remarks + + + + One + y = k*u + + k is the scalar value in Inputs ports signs/gain parameter. + The block has the behavior of a gain. + + + + Two or more + y = k[1]*u1+k[2]*u2+...+k[n]*uN + + k is the vector value write in Inputs ports signs/gain parameter. + To subtract an input ui, set a negative value in k[i]. + + + + + + Dialog box + + + + + + + + + + + + Inputs ports signs/gain + + Set sign and a gain for each inputs. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + sum + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/BIGSOM_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/sum.c (Type 2) + + + + + Example + + + + + + + + + + + + See also + + + + SUMMATION - Matrix Addition/Subtraction (Xcos block) + + + + + SUM_f - Summation (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Mathoperations_pal/CHAPTER new file mode 100755 index 000000000..4c80b481a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/CHAPTER @@ -0,0 +1 @@ +title = Math operations palette diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/COSBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/COSBLK_f.xml new file mode 100755 index 000000000..bf35ba4e1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/COSBLK_f.xml @@ -0,0 +1,197 @@ + + + + + COSBLK_f + Cosine + + + Block Screenshot + + + + + + + + + + Contents + + + + Cosine + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + That block computes the cosine of the elements of the input vector. + + + $y = \cos(u)$ + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cosblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/COSBLK_f.sci + + + + + See also + + + + TrigFun - Trigonometric function (Bloc Xcos) + + + + + SINBLK_f - Sine (Bloc Xcos) + + + + + TANBLK_f - Tangente (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/EXPBLK_m.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/EXPBLK_m.xml new file mode 100755 index 000000000..f5d3b71b3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/EXPBLK_m.xml @@ -0,0 +1,247 @@ + + + + + EXPBLK_m + Exponential of a scalar + + + Block Screenshot + + + + + + + + + + Contents + + + + Exponential of a scalar + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + The output of this block is a vector y with y[i]=a^u[i], where the parameter a + is a positive scalar and u the input vector. The input and output port sizes are determined by the compiler. + + + + Dialog box + + + + + + + + + + + + a + + A real positive scalar. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + expblk_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/EXPBLK_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/expblk_m.c (Type 4) + + + + + See also + + + + POWBLK_f - Array power (Bloc Xcos) + + + + + LOGBLK_f - Logarithm (Bloc Xcos) + + + + + SQRT - Square root (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/GAINBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/GAINBLK_f.xml new file mode 100755 index 000000000..ddd345401 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/GAINBLK_f.xml @@ -0,0 +1,221 @@ + + + + + GAINBLK_f + Gain + + + Block Screenshot + + + + + + + + + + Contents + + + + Gain + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + That bloc computes the product of a square matrix A by the input vector U, where the number of rows/cols + of A is equal to the number of rows of U. The A matrix is set with the Gain + parameter. + + + + Dialog box + + + + + + + + + + + + Gain + + This parameter defined the square matrix A. + Properties : Type 'mat' of size [-1,-1]. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + gain + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/GAINBLK_f.sci + + + + + Voir aussi + + + + PROD_f - Element-wise product (Xcos block) + + + + + INVBLK - Inversion (Xcos block) + + + + + PRODUCT - Multiplication/Division de vecteurs élément par élément (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/INVBLK.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/INVBLK.xml new file mode 100755 index 000000000..0bff32e49 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/INVBLK.xml @@ -0,0 +1,208 @@ + + + + + INVBLK + Inverse + + + Block Screenshot + + + + + + + + + + Contents + + + + Inverse + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block computes the output vector y with y[i]=1/u[i] where u is the input vector.The input and output sizes are + determined by the context. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + invblk4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/INVBLK.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/invblk4.c (Type 4) + + + + + See also + + + + GAINBLK_f- Gain (Xcos block) + + + + + PROD_f - Element-wise Product (Xcos block) + + + + + PRODUCT - Element-wise vectors Multiplication/Division (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/LOGBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/LOGBLK_f.xml new file mode 100755 index 000000000..f0eb097c4 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/LOGBLK_f.xml @@ -0,0 +1,235 @@ + + + + + LOGBLK_f + Logarithm + + + Block Screenshot + + + + + + + + + + Contents + + + + Logarithm + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block computes the logarithm of the elements of the input vector. The user can fix the base + with the parameter Basis. By default the block computes the + natural logarithm. The input and output port sizes are determined by the context. + + + + Dialog box + + + + + + + + + + + + + Basis + + A real scalar greater than 1. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + logblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/LOGBLK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/logblk.f (Type 0) + + + + + See also + + + + POWBLK_f - Array power (Bloc Xcos) + + + + + EXPBLK_m - Exponential of a scalar (Bloc Xcos) + + + + + SQRT - Square root (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATMAGPHI.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATMAGPHI.xml new file mode 100755 index 000000000..6634ef4a6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATMAGPHI.xml @@ -0,0 +1,277 @@ + + + + + MATMAGPHI + Complex from/to Magnitude and Angle Conversion + + + Block Screenshot + + + + + + + + + + Contents + + + + Complex from/to Magnitude and Angle Conversion + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block computes the magnitude and the angle of a matrix of complex numbers or composes a matrix of complex numbers from + a matrix of magnitudes and a matrix of angles with respect to the value of decomposition type parameter. + The following table summarize the bloc behaviour : + + + + + + Decomposition type + + + Inputs + + + Outputs + + + Operation + + + + + 1 + + One (complex or double) + Two (double) + + Conversion complex to magnitude (first output) and radian angle (second output). + If the input is double, the angle will be zero or PI and the magnitude will be equal to the + absolute of the input number. + + + + + 2 + + Two (double) + One (complex) + + The block outputs a matrix of complex numbers built with the magnitude and the radian angle inputs + coming respectively from the first and from the second inputs. + + + + + + + Dialog box + + + + + + + + + + + + Decomposition type (1=Complex2MAG&PHI 2=MAG&PHI2Complex) + + It indicates the rule of the conversion. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + matz_abs + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATMAGPHI.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/matz_abs.c + + + SCI/modules/scicos_blocks/src/c/matz_absc.c + + + + + See also + + + + MATZREIM - Complex decomposition + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATZREIM.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATZREIM.xml new file mode 100755 index 000000000..54e61e8b6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MATZREIM.xml @@ -0,0 +1,273 @@ + + + + + MATZREIM + Complex decomposition/composition + + + Block Screenshot + + + + + + + + + + Contents + + + + Complex decomposition/composition + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block decomposes a matrix of complex numbers by separating the real and imaginary parts or composes a + matrix of complex numbers by joining the two parts with respect to the value of + decomposition type parameter. + The following table summarize the bloc behaviour : + + + + + + Decomposition type + + + Inputs + + + Outputs + + + Operation + + + + + 1 + + One (complex) + Two (double) + + Decomposition: The real part and the imaginary part of the input are available respectively on the first and + the second outputs. + + + + + 2 + + Two (double) + One (complex) + + Composition: The output is a matrix of complex numbers built with the real and imaginary parts coming respectively from + the first and from the second inputs. + + + + + + + Dialog box + + + + + + + + + + + + + + Decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex) + + Indicates the type to use for the decomposition. See the description part for more information. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + matz_reim + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATZREIM.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/matz_reim.c + + + SCI/modules/scicos_blocks/src/c/matz_reimc.c + + + + + See also + + + + MATMAGPHI - MATMAGPHI Complex to Magnitude and Angle Conversion + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAXMIN.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAXMIN.xml new file mode 100755 index 000000000..50352aaa1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAXMIN.xml @@ -0,0 +1,284 @@ + + + + + MAXMIN + Maximum or minimum value of vectors's elements + + + Block Screenshot + + + + + + + + + + Contents + + + + Maximum or minimum value of vectors's elements + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block finds the minimum/maximum values (parameter Min or Max) and accepts one or two inputs depending on the parameter Number of input vectors : + + + + + + Number of input vectors + + + Input + + + Operation + + + + + 1 + + Vector + + The input must be a vector and the bloc output is the minimum/maximum value of the elements of its input vector. + + + + + 2 + + Scalar + The block output is the minimal or maximal scalar. + + + + 2 + + Vector + + The input vectors must have the same size. The block output is a vector with the same size as + inputs.The elements of the output vector are the minimum/maximum elements of the corresponding + elements of the inputs. + + + + + + Dialog box + + + + + + + + + + + + + + Min or Max + + The function (min or max) to apply to the input. + Properties : Type 'vec' of size 1. + + + + Number of input vectors + + The number of inputs to the block. + Properties : Type 'vec' of size 1. + + + + zero-crossing + + Select to enable zero crossing detection to detect minimum and maximum values. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + minmax + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/MAXMIN.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/minmax.c (Type 4) + + + + + See also + + + + MIN_f - Minimum value of vector's element (Xcos block) + + + + + MAX_f - Maximum value of vector's elements (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAX_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAX_f.xml new file mode 100755 index 000000000..a211d3e8b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MAX_f.xml @@ -0,0 +1,202 @@ + + + + + MAX_f + Maximum value of a vector's elements + + + Block Screenshot + + + + + + + + + + Contents + + + + Maximum value of a vector's elements + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block finds the maximum value of the elements of its input vector. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + maxblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/MAX_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/maxblk.f (Type 0) + + + + + See also + + + + MIN_f - Minimum value of a vector's elements (Xcos block) + + + + + MAXMIN - Maximum or minimum value of vectors's elements (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/MIN_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MIN_f.xml new file mode 100755 index 000000000..9ee05b2e3 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/MIN_f.xml @@ -0,0 +1,219 @@ + + + + + MIN_f + Minimum value of a vector's elements + + + Block Screenshot + + + + + + + + + + Contents + + + + Minimum value of a vector's elements + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block finds the minimum value of the elements of its input vector. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + minblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/MIN_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/minblk.f (Type 0) + + + + + Example + + + + + + + + + + + + See also + + + + MAX_f - Maximum value of a vector's elements (Xcos block) + + + + + MAXMIN - Maximum or minimum value of vectors's elements (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/POWBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/POWBLK_f.xml new file mode 100755 index 000000000..51493cc82 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/POWBLK_f.xml @@ -0,0 +1,242 @@ + + + + + POWBLK_f + Array power + + + Block Screenshot + + + + + + + + + + Contents + + + + Array Power + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block computes an output vector y with y[i]= u[i]^a where a is the real scalar given by the parameter + to the power of and u the input. The input and output port sizes are + determined by the compiler according to the connected blocks port sizes. + + + + Dialog box + + + + + + + + + + + + To the power of + + A real scalar, the exponent value. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + powblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/POWBLK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/powblk.f (Type 0) + + + + + See also + + + + LOGBLK_f - Logarithm (Bloc Xcos) + + + + + EXPBLK_m - Exponential of a scalar (Bloc Xcos) + + + + + SQRT - Square root (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/PRODUCT.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/PRODUCT.xml new file mode 100755 index 000000000..94282a5d1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/PRODUCT.xml @@ -0,0 +1,251 @@ + + + + + PRODUCT + Element-wise vector multiplication/division + + + Block Screenshot + + + + + + + + + + Contents + + + + Element-wise vector multiplication/division + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + That bloc computes element-wise multiplication or division of its vector inputs. The number of inputs + and operation are specified with the Number of inputs or sign vector parameter. + + + + + To multiply all the inputs between them, set this parameter to the number of inputs. + + + + + To multiply/divide the input ui, set in this parameter a vector k with + k[i] = +1 (multiply) or -1 (divide) for the input ui. + + + + + + Dialog box + + + + + + + + + + + + + + Number of inputs or sign vector + + Enter the number of inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + product + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/PRODUCT.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/product.c (Type 4) + + + + + Voir aussi + + + + GAINBLK_f- Gain (Xcos block) + + + + + INVBLK - Invert (Xcos block) + + + + + PROD_f - Element-wise product (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/PROD_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/PROD_f.xml new file mode 100755 index 000000000..c3cab24cf --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/PROD_f.xml @@ -0,0 +1,210 @@ + + + + + PROD_f + Element-wise product + + + Block Screenshot + + + + + + + + + + Contents + + + + Element-wise product + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + The output of that block is the element-wise product of its two input vectors. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + prod + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/PROD_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/prod.c (Type 2) + + + + + Voir aussi + + + + GAINBLK_f - Gain (Xcos block) + + + + + INVBLK - Invert (Xcos block) + + + + + PRODUCT - Element-wise vectors Multiplication/Division (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/SIGNUM.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SIGNUM.xml new file mode 100755 index 000000000..3712ababb --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SIGNUM.xml @@ -0,0 +1,221 @@ + + + + + SIGNUM + Sign + + + Block Screenshot + + + + + + + + + + Contents + + + + Sign + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + The block output is a vector of the signs of the elements of the input vector. + For each input vector's element, the output vector's element is: + + + + 1 when the element is greater than zero. + + + 0 when the element is equal to zero. + + + -1 when the element is less than zero. + + + + + Dialog box + + + + + + + + + + + + + + Use zero_crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + signum + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/SIGNUM.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/signum.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/SINBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SINBLK_f.xml new file mode 100755 index 000000000..79a04a885 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SINBLK_f.xml @@ -0,0 +1,212 @@ + + + + + SINBLK_f + Sine + + + Block Screenshot + + + + + + + + + + Contents + + + + Sine + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + That block computes the sine of the elements of the input vector. + + + + $y = \sin(u)$ + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + sinblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/SINBLK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/sinblk.f (Type 0) + + + + + See also + + + + TrigFun - Trigonometric function (Bloc Xcos) + + + + + COSBLK_f - Cosine (Bloc Xcos) + + + + + TANBLK_f - Tangent (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/SQRT.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SQRT.xml new file mode 100755 index 000000000..44253b601 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SQRT.xml @@ -0,0 +1,248 @@ + + + + + SQRT + Square root + + + Block Screenshot + + + + + + + + + + Contents + + + + Square root + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block computes the square root of each element of the input matrix. It support double + and complex data types (Datatype parameter). + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + It indicates the type of the output. It support only the two + types double (1) and complex (2). If we input another entry in this + label Xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + mat_sqrt + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/SQRT.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_sqrt.c + + + SCI/modules/scicos_blocks/src/c/matz_sqrt.c + + + + + See also + + + + POWBLK_f - Array power + + + + + EXPBLK_m - Exponential of a scalar (Bloc Xcos) + + + + + LOGBLK_m - Logarithm (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUMMATION.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUMMATION.xml new file mode 100755 index 000000000..cf9a16b47 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUMMATION.xml @@ -0,0 +1,372 @@ + + + + + SUMMATION + Matrix Addition/Subtraction + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Summation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + This block performs addition or subtraction on scalar, vector or matrix inputs. The input datatype + is set with the Datatype parameter. The + Number of inputs or sign vector + + parameter defines the number of inputs and operation. For + a single vector's input the block collapse the elements of the vector. Vectors/matrices inputs + must have the same size. + + The behavior of the block is summarized in the following table : + + + + + Number of inputs + + + Operation + + + Remarks + + + + One + y = (+/-)u + + u is a scalar value and the block has the behavior of a unitary gain. + + + + One + y = u[1]+u[2]+...+u[N] + + u is a vector or a matrix and the block output is the sum of the elements of the input + vector or matrix. + + + + Two or more + y = k[1]*u1+k[2]*u2+...+k[N]*uN + + k is the scalar or vector value write in the + Number of inputs or sign vector + + parameter. For the addition of all inputs, simply set this + parameter to the number of inputs. To add/subtract the input ui, set in this + parameter a vector k with k[i] = +1 (addition) or -1 (subtraction) + for the input ui. + + + + With integer input, on overflow the result can take different forms: + + 1- A normal non saturated result. By example, if type is int8 and the result 128, the block output + value will be -128. + + 2- A saturated result. For the previous example the block output value will be 127. + 3- An error message warning the user about the overflow. + + The user can select one of these three forms by setting the + Do on Overflow field to 0, 1 or 2. + + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=complex 3=int32 ...) + + + It indicates the type of the input/output data. It support all datatype, number must be between 1 and 8. + + Properties : Type 'vec' of size 1. + + + + Number of inputs or sign vector (of +1,-1) + + + It indicates the number of inputs and the operation see the description for more detail. If you set a value + other of -1 or +1, you get an error message box. + + Properties : Type 'vec' of size -1. + + + + Do on Overflow(0=Nothing 1=Saturate 2=Error) + + When this parameter is set to zero the result is similar to a + normal summation of two integer matrix. When it is set to 1, on + overflow the block saturate the result. When it is set to 2, on + overflow an error message box appears. If the Data type is double or + complex this parameter is not used. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + summation + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/SUMMATION.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/summation.c + + + SCI/modules/scicos_blocks/src/c/summation_z.c + + + SCI/modules/scicos_blocks/src/c/summation_i32n.c + + + SCI/modules/scicos_blocks/src/c/summation_i16n.c + + + SCI/modules/scicos_blocks/src/c/summation_i8n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8n.c + + + SCI/modules/scicos_blocks/src/c/summation_i32s.c + + + SCI/modules/scicos_blocks/src/c/summation_i16s.c + + + SCI/modules/scicos_blocks/src/c/summation_i8s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8s.c + + + SCI/modules/scicos_blocks/src/c/summation_i32e.c + + + SCI/modules/scicos_blocks/src/c/summation_i16e.c + + + SCI/modules/scicos_blocks/src/c/summation_i8e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8e.c + + + + + See also + + + + BIGSOM_f - Sclar/Vector Addition/Soustraction (Xcos block) + + + + + SUM_f - Addition (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUM_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUM_f.xml new file mode 100755 index 000000000..1d5e84782 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/SUM_f.xml @@ -0,0 +1,208 @@ + + + + + SUM_f + Addition + + + Block Screenshot + + + + + + + + + + Contents + + + + Addition + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + The block performs addition of its three inputs. This block can add scalar or vector inputs. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 0 + + + - port 3 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + plusblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/SUM_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/plusblk.c (Type 2) + + + + + See also + + + + SUMMATION - Matrix Addition/Subtraction (Xcos block) + + + + + BIGSOM_f - Scalars/Vectors Addition/Subtraction (Xcos block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/TANBLK_f.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/TANBLK_f.xml new file mode 100755 index 000000000..f19a2f1ae --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/TANBLK_f.xml @@ -0,0 +1,212 @@ + + + + + TANBLK_f + Tangent + + + Block Screenshot + + + + + + + + + + Contents + + + + Tangent + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + That block computes the tangent of the elements of the input vector. + + + + $y = \tan(u)$ + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + tanblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/TANBLK_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/tanblk.f (Type 0) + + + + + See also + + + + TrigFun - Trigonometric function (Bloc Xcos) + + + + + COSBLK_f - Cosine (Bloc Xcos) + + + + + SINBLK_f - Sine (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Mathoperations_pal/TrigFun.xml b/modules/xcos/help/en_US/palettes/Mathoperations_pal/TrigFun.xml new file mode 100755 index 000000000..9fe6f9c05 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Mathoperations_pal/TrigFun.xml @@ -0,0 +1,330 @@ + + + + + TrigFun + Trigonometric function + + + Block Screenshot + + + + + + + + + + Contents + + + + Trigonometric function + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Voir aussi + + + + + + + + Palette + + + + Math operations palette + + + + + + Description + + The Trigonometric Function block performs numerous common trigonometric functions. You can select a function + among those quoted in this table : + + + + + + Function + + + Definition + + + Output + + + + sin + Sine of the input (radians) + y = sin(u) + + + cos + Cosine of the input (radians) + y = cos(u) + + + tan + Tangent of the input (radians) + y = tan(u) + + + asin + Inverse sine (radians) of the input + y = asin(u) + + + acos + Inverse cosine (radians) of the input + y = acos(u) + + + atan + 2-quadrant and 4-quadrant inverse tangent (radians) of the input + y = atan(u) + + + sinh + Hyperbolic sine of the input + y = sinh(u) + + + cosh + Hyperbolic cosine of the input + y = cosh(u) + + + tanh + Hyperbolic tangent of the input + y = tanh(u) + + + + The block output is the result of the applied function on the scalar input or on the vector's elements of input. + + + + Dialog box + + + + + + + + + + + + + + Function + + The trigonometric function. + Properties : Type 'str' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + sin_blk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/TrigFun.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/acos_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/acosh_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/asin_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/asinh_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/atan_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/atanh_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/cos_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/cosh_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/sin_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/sinh_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/tan_blk.c (Type 4) + + + SCI/modules/scicos_blocks/src/c/tanh_blk.c (Type 4) + + + + + See also + + + + COSBLK_f - Cosine (Bloc Xcos) + + + + + SINBLK_f - Sine (Bloc Xcos) + + + + + TANBLK_f - Tangent (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/AA_Matrix_pal.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/AA_Matrix_pal.xml new file mode 100755 index 000000000..be86c4497 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/AA_Matrix_pal.xml @@ -0,0 +1,315 @@ + + + + + Matrix_pal + Matrix operation palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + Matrix palette contains all blocks that you need to do simple and complex matrix operations. + + + + Blocks + + + + 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 + + + + + MATMAGPHI - Complex from/to Magnitude and Angle Conversion + + + + + MATMUL - Matrix Multiplication + + + + + MATPINV - Matrix PseudoInverse + + + + + MATRESH - Matrix Reshape + + + + + MATSING - SVD Decomposition + + + + + MATSUM - Sum of Matrix's Elements + + + + + MATTRAN - Matrix Transpose + + + + + MATZCONJ - Conjugate of Matrix's Elements + + + + + MATZREIM - Complex Composition/Decomposition + + + + + RICC - Riccati Equation + + + + + ROOTCOEF - Polynomial Coefficient Computation + + + + + SQRT - Square Root + + + + + SUBMAT - Sub-matrix Extraction + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Matrix_pal/CHAPTER new file mode 100755 index 000000000..37b5a7608 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/CHAPTER @@ -0,0 +1 @@ +title = Matrix operation palette diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/CUMSUM.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/CUMSUM.xml new file mode 100755 index 000000000..3815e9a50 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/CUMSUM.xml @@ -0,0 +1,295 @@ + + + + + CUMSUM + Cumulative Sum + + + Block Screenshot + + + + + + + + + + Contents + + + + Cumulative Sum + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The CUMSUM block sums the element of an input MxN matrix U along either the rows, the columns or the first non singleton dimension. + + + When the Sum along parameter is set to : + + + + + 1 : the block sums across the elements of each row. The output result will + be a Mx1 matrix. + + + + + + 2 : the block sums across the elements of each column. The output result will + be a 1xN matrix. + + + + + + 0 : the block sums across the first non singleton dimension. + The output result will be a scalar. + + + + + The equivalent function in Scilab is cumsum. + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label Scicos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Sum along (0=the first non singleton dimension 1=Rows 2=Columns) + + + Indicate whether to sum across the rows, the columns or the first non singleton dimension. + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 2 3;4 5 6;7 8 9] + If the sum is along the row the result will be + B=[12;15;18] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cumsum_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/CUMSUM.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cumsum_m.c + + + SCI/modules/scicos_blocks/src/c/cumsum_r.c + + + SCI/modules/scicos_blocks/src/c/cumsum_c.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_m.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_r.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_c.c + + + + + See also + + + + MATSUM - Sum of Matrix's Elements (xcos Block) + + + + + cumsum (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/EXTRACT.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/EXTRACT.xml new file mode 100755 index 000000000..2909ceaab --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/EXTRACT.xml @@ -0,0 +1,283 @@ + + + + + EXTRACT + Matrix extractor + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Extractor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The EXTRACT block extracts some elements from the input matrix. The size of the output depends on + the number of rows and number of columns to extract. + + + The elements of the parameters Lines to extract and + Columns to extract specify respectively the indexes of the lines and + the columns to be extracted. + + + The writing of these parameters obeys to the rules of extraction (see extraction), + in particular you can give a range of indexes with the colon operator (:). + + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Lines to extract + + A vector indicating the indexes of lines to be extracted. + Properties : Type 'mat' of size [1,-1]. + + + + Columns to extract + + A vector indicating the indexes of columns to be extracted.. + Properties : Type 'mat' of size [1,-1]. + + + + + Example + + A=[1 2 3;4 5 6;7 8 9] + If the "Lines to extract" is [1 2] and the "Column to extract" is [1 3] then the output is + B=[1 3;4 6] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + extract + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/EXTRACT.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/extract.c + + + SCI/modules/scicos_blocks/src/c/extractz.c + + + + + Example + + + + + + + + + + + + See also + + + + EXTTRI - Triangular or Diagonal extraction (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/EXTTRI.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/EXTTRI.xml new file mode 100755 index 000000000..1ca3a8387 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/EXTTRI.xml @@ -0,0 +1,309 @@ + + + + + EXTTRI + Triangular or Diagonal Extraction + + + Block Screenshot + + + + + + + + + + Contents + + + + Triangular or Diagonal Extraction + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The EXTTRI block extracts some elements from the input matrix u. The size of the output matrix is the same + that those of the input matrix. + + + When the extraction type parameter is set to: + + + + + 1 (Upper triangle): the block copies the elements on and above the main diagonal + to an output matrix. The elements below the main diagonal are set to zero. + + + + + + 2 (Lower triangle): the block copies the elements on and below the main diagonal + to an output matrix. The elements above the main diagonal are set to zero. + + + + + + 3 (Diagonal): the block copies the elements on the main diagonal + to an output matrix. The elements above and below the main diagonal are set to zero. + + + + + Les fonctions équivalentes de EXTTRI dans Scilab sont respectivement triu(u), + tril(u) et diag(u) + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Extraction type (1=lower 2=upper 3=diagonal) + + + It indicates the form of the output matrix. It can be an upper triangle, a lower triangle or + a diagonal matrix. + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 2 3;4 5 6;7 8 9;10 11 12] + If the extraction type is 2 then the output is + B=[1 0 0;4 5 0;7 8 9;10 11 12] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + extrilz + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/EXTTRI.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/exttril.c + + + SCI/modules/scicos_blocks/src/c/exttriu.c + + + SCI/modules/scicos_blocks/src/c/extdiag.c + + + SCI/modules/scicos_blocks/src/c/exttrilz.c + + + SCI/modules/scicos_blocks/src/c/exttriuz.c + + + SCI/modules/scicos_blocks/src/c/extdiagz.c + + + + + See also + + + + EXTRACT - Matrix Extractor (xcos Block) + + + + + triu (Scilab function) + + + + + tril (Scilab function) + + + + + diag (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATBKSL.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATBKSL.xml new file mode 100755 index 000000000..23874e632 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATBKSL.xml @@ -0,0 +1,257 @@ + + + + + MATBKSL + Left matrix division + + + Block Screenshot + + + + + + + + + + Contents + + + + Left matrix division + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATBKSL block outputs the left matrix division. It is a solution to A*x=B. The higher input is the A matrix, + the lower one is the B matrix, and the output is x. + If A is an MxN1 matrix, B must be a MxN2 matrix where N1 and N2 can be different or equal. The output x + is a N1xN2 matrix. + + + The equivalent of MATBKSL is backslash (\) ïn Scilab. + + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 7 3;23 32 29] + B=[21 18;13 10] + then the result of the A*x=B equation is (A\B): + x=[-4.504 -3.922;3.643 3.132;0.000 0.000] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-3] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_bksl + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATBKSL.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_bksl.c + + + SCI/modules/scicos_blocks/src/c/matz_bksl.c + + + + + See also + + + + MATDIV - Matrix division (xcos Block) + + + + + MATMUL - Matrix Multiplication (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATH.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATH.xml new file mode 100755 index 000000000..3e65bb092 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATH.xml @@ -0,0 +1,252 @@ + + + + + MATCATH + Horizontal Concatenation + + + Block Screenshot + + + + + + + + + + Contents + + + + Horizontal Concatenation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATCATH Block outputs the horizontal concatenation of multiple matrices. It is also called concatenation + according to the columns. The inputs U1,U2,...,Un must have the same number of rows. The user must set the + number of input matrices in the Number of input parameter. + + + The output is a M-by-(N1+N2+...+Nn) matrix, where N1,N2,...,Nn are the numbers of columns of the inputs + matrices, and M is the number of rows. + + The equivalent of MATCATH in Scilab is y=[U1 U2 ... Un]. + + + + Dialog box + + + + + + + + + + + + Number of input + + + It indicates the number of input matrices. + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 2 3;4 5 6] + B=[7 8;9 10] + The result of the horizontal concatenation is: + C=[1 2 3 7 8;4 5 6 9 10] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_cath + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATCATH.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_cath.c + + + SCI/modules/scicos_blocks/src/c/matz_cath.c + + + + + See also + + + + MATCATV - Vertical Concatenation (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATV.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATV.xml new file mode 100755 index 000000000..e5f7d68ea --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATCATV.xml @@ -0,0 +1,254 @@ + + + + + MATCATV + Vertical Concatenation + + + Block Screenshot + + + + + + + + + + Contents + + + + Vertical Concatenation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATCATV Block outputs the vertical concatenation of multiple matrices. It is also called concatenation + according to the rows. The inputs U1,U2,...,Un must have the same number of columns. The user must set + the number of input matrices in the Number of input parameter. + + + The output is a (M1+M2+...+Mn)-by-N matrix, where M1,M2,...,Mn are the numbers of rows of the inputs matrices, + and N is the number of columns. + + The equivalent of MATCATH in Scilab is y=[U1;U2;...;Un] + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 2;3 4;5 6] + B=[7 8;9 10] + The result of the vertical concatenation is: + C=[1 2;3 4;5 6;7 8;9 10] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + mat_catv + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATCATV.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_catv.c + + + SCI/modules/scicos_blocks/src/c/matz_catv.c + + + + + See also + + + + MATCATH - Horizontal Concatenation (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATDET.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDET.xml new file mode 100755 index 000000000..fc234e137 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDET.xml @@ -0,0 +1,258 @@ + + + + + MATDET + Matrix Determinant + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Determinant + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATDET outputs the determinant of a square input matrix. If the input is: + + + A=[A11 A12 A13;A21 A22 A23;A31 A32 A33] + + + then the output of the block has the form of: + + + y=A11*(A22*A33-A23*A32)-A12*(A21*A33-A23*A31)+A13*(A21*A32-A22*A31). + + + The equivalent function of MATDET in Scilab is det. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + U=[1 0 63;2 -2 5;9 9 4] + y=2215 + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_det + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDET.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_det.c + + + SCI/modules/scicos_blocks/src/c/matz_det.c + + + + + See also + + + + MATINV - Matrix Inverse (xcos Block) + + + + + det (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIAG.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIAG.xml new file mode 100755 index 000000000..696fa2e21 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIAG.xml @@ -0,0 +1,250 @@ + + + + + MATDIAG + Create Diagonal Matrix + + + Block Screenshot + + + + + + + + + + Contents + + + + Create Diagonal Matrix + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATDIAG block create a diagonal matrix from a 1D vector. If the input is a Mx1 vector than the output + is an MxM matrix. + + + The equivalent function of MATDIAG in Scilab is diag(vm) with vm a column vector. + + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + if the input of the block is U=ones(5,1) then the output is: + y=[1 0 0 0 0;0 1 0 0 0;0 0 1 0 0;0 0 0 1 0;0 0 0 0 1] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_diag + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDIAG.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_diag.c + + + SCI/modules/scicos_blocks/src/c/matz_diag.c + + + + + See also + + + + EXTTRI - Triangular or Diagonal extraction (xcos Block) + + + + + diag (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIV.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIV.xml new file mode 100755 index 000000000..fbf3d74ee --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATDIV.xml @@ -0,0 +1,259 @@ + + + + + MATDIV + Matrix division + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix division + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATDIV block outputs the right matrix division. It is a solution to x*B=A. The higher + input is the A matrix, the lower one is the B matrix, and the output is x. + + + If A is an M1xN matrix, B must be a M2xN where M1 and M2 can be different or equal. + The output x is a M1xM2 matrix. + + + The equivalent of MATDIV is slash (/) in Scilab. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label Xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 7 3;23 32 29] + B=[21 18 34;13 10 19;11 54 36] + then the result of the x*B=A equation is (A/B): + x=[-0.475 0.712 0.156;-4.350 8.381 0.491] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-3] / type 1 + + + - port 2 : size [-2,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_div + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDIV.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_div.c + + + SCI/modules/scicos_blocks/src/c/matz_div.c + + + + + See also + + + + MATBKSL - Left matrix division + + + + + MATMUL - Matrix Multiplication + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATEIG.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATEIG.xml new file mode 100755 index 000000000..33c646956 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATEIG.xml @@ -0,0 +1,285 @@ + + + + + MATEIG + Matrix Eigenvalues + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Eigenvalues + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATEIG block computes the eigenvalues and the eigenvectors of a square input matrix U. + When the decomposition type is set to: + + + + + 1, the block outputs the eigenvalues in a vector form, + if the input is a MxM matrix the output is a Mx1 vector. + + + + + + 2, the block outputs two matrices. For an MxM input matrix, + the first output is a MxM diagonal matrix composed by the eigenvalues, and the second is a + MxM matrix where columns are the eigenvectors. + + + + + The equivalent of the MATEIG block in Scilab is spec + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + It indicates the type of the output. It support only the two + types double (1) and complex (2). If we input another entry in this + label xcos will print the message "Datatype is not + supported". + + Properties : Type 'vec' of size 1. + + + + decomposition type (1=eig values 2=eig + values+eig vectors + + + To select the form of the output. + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 12 32;21 35 46;70 8 19] + When the "Decomposition type" is set to one the output is y=[-35.649;14.279;76.369] + When the "Decomposition type" is set to two the outputs are: + y1=[-35.649 0.000 0.000;0.000 14.279 0.000;0.000 0.000 76.369] + y2=[0.557 0.080 0.349;0.330 -0.922 0.770;-0.762 0.379 0.533] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 2 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_vps + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATEIG.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_vps.c + + + SCI/modules/scicos_blocks/src/c/mat_vpv.c + + + SCI/modules/scicos_blocks/src/c/matz_vps.c + + + SCI/modules/scicos_blocks/src/c/matz_vpv.c + + + + + See also + + + + MATSING - SVD Decomposition (xcos Block) + + + + + spec (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATEXPM.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATEXPM.xml new file mode 100755 index 000000000..777bea2a1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATEXPM.xml @@ -0,0 +1,258 @@ + + + + + MATEXPM + Matrix Exponential + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Exponential + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATEXPM outputs the matrix exponential of a square matrix input computed by the pade's approximants. + The output is a square matrix with the same size of the input. + + + The equivalent of this block in Scilab is expm. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Example + + u=[1 2 3;2 3 1;4 2 1] + y=[182.612 196.518 141.735;172.973 190.770 133.577;204.677 220.063 159.067] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + mat_expm + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATEXPM.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_expm.c + + + SCI/modules/scicos_blocks/src/c/matz_expm.c + + + + + See also + + + + MATMUL - Matrix Multiplication (xcos Block) + + + + + expm (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATINV.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATINV.xml new file mode 100755 index 000000000..246590dc8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATINV.xml @@ -0,0 +1,243 @@ + + + + + MATINV + Matrix Inverse + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Inverse + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATINV block outputs the inverse of a square input matrix calculated by using the LU factorization. + A warning message is printed if the input is badly scaled or nearly singular. + + + The equivalent function of this block in Scilab is inv. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_inv + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATINV.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_inv.c + + + SCI/modules/scicos_blocks/src/c/matz_inv.c + + + + + See also + + + + MATLU - LU Factorization (xcos Block) + + + + + MATPINV - Matrix PseudoInverse (xcos Block) + + + + + inv (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATLU.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATLU.xml new file mode 100755 index 000000000..8fee909a6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATLU.xml @@ -0,0 +1,244 @@ + + + + + MATLU + LU Factorization + + + Block Screenshot + + + + + + + + + + Contents + + + + LU Factorization + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATLU Block outputs two matrices L and U, with row pivoting, from the LU factorization of a + square input matrix. If A is the input matrix then: + + + E*A=L*U where E is the permutation matrix, U an upper triangular matrix and L a lower triangular matrix. + + + The equivalent function of this block in Scilab is [l,u,e]=lu(A). + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + - port 2 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_lu + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATLU.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_lu.c + + + SCI/modules/scicos_blocks/src/c/matz_lu.c + + + + + See also + + + + MATINV - Matrix Inverse (xcos Block) + + + + + lu (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATMUL.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATMUL.xml new file mode 100755 index 000000000..9cd6d97d5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATMUL.xml @@ -0,0 +1,329 @@ + + + + + MATMUL + Matrix Multiplication + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Multiplication + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATMUL block computes the multiplication of an the first input matrix by the second input matrix/scalar. + When the Multiplication rule parameter is set to: + + + + + 1, the block computes the matrix product. The number of rows of + the first matrix must be equal to the number of columns of the second matrix. The output is a matrix where the + number of rows is equal to that of the first input matrix and the number of columns is equal to + that of the second input matrix. + + + + + + 2, the block computes the matrix element-wise product. The matrices must be of the same sizes. The output is a matrix of the same size that the input matrices. + + + + + + 3, the block computes the matrix-scalar product. The output is a matrix of the same size + that input matrix. + + + + + For integer inputs, when overflow occurs the block three different forms of results : + + + 1- A normal non saturated result. By example, if type is int8 and the result 128, the block output + value will be -128. + + 2- A saturated result. For the previous example the block output value will be 127. + 3- An error message warning the user about the overflow. + + The user can select one of these three forms by setting the + Do on Overflow field to 0, 1 or 2. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Multiplication rule (1= * 2= .* 3=scalar) + + Select multiplication rule. See description for more information. + Properties : Type 'vec' of size 1. + + + + Do on Overflow(0=Nothing 1=Saturate 2=Error) + + + When this parameter is set to zero the result is similar to a normal multiplication of two + integer matrix. When it is set to 1, on overflow the block saturate the result. When it + is set to 2, on overflow an error message box appears. + + + For double or complex inputs this parameter is ignored. + + Properties : Type 'vec' of size 1. + + + + + Example + + A=[1 2 3;4 5 6] + B=[9 8 7 6;5 4 3 2;9 7 5 3] + y=[46 37 28 19;115 94 73 52] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-2,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-3] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + matmul_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATMUL.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/matmul_m.c + + + SCI/modules/scicos_blocks/src/c/matzmul_m.c + + + SCI/modules/scicos_blocks/src/c/matmul2_m.c + + + SCI/modules/scicos_blocks/src/c/matzmul2_m.c + + + + + See also + + + + INTMUL - Integer Matrix Multiplication (xcos Block) + + + + + MATDIV - Matrix Division (xcos Block) + + + + + MATBKSL - Left Matrix Division (xcos Block) + + + + + MATEXPM - Matrix Exponential (xcos Block) + + + + + SUMMATION - Matrix Summation (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATPINV.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATPINV.xml new file mode 100755 index 000000000..7348dbba8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATPINV.xml @@ -0,0 +1,255 @@ + + + + + MATPINV + Matrix PseudoInverse + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix PseudoInverse + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATPINV Block outputs the inverse of a non square input matrix using the SVD theory. + if the SVD decomposition of A is equal to: + + A=USV' + The pseudoinverse X of A is given by: + + X=VS"U' where S"(i,j)=1/S(i,j) (if S(i,j) =0), U' and V are respectively the transpose of U and V'. + + + and we have A*X*A=A and X*A*X=X. Both A*X and X*A are Hermitian. A warning message is printed if + the input is badly scaled or nearly singular. + + + When the input is a MxN matrix the output is a NxM matrix. + + + The equivalent function of this block in Scilab is pinv. + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_pinv + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATPINV.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_pinv.c + + + SCI/modules/scicos_blocks/src/c/matz_pinv.c + + + + + See also + + + + MATINV - Matrix Inverse (xcos Block) + + + + + MATSING - SVD Decomposition (xcos Block) + + + + + pinv (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATRESH.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATRESH.xml new file mode 100755 index 000000000..9d508c303 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATRESH.xml @@ -0,0 +1,277 @@ + + + + + MATRESH + Matrix Reshape + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Reshape + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The RESHAPE block changes the dimensions of a matrix or a vector to another dimensions specified + by the user in the output size desired parameter.The dimensions of + the output must be less or equal to the input size given by the input size + parameter. + + + The equivalent function of this block in Scilab is matrix. (Warning : You have to + specify both output dimensions explicitly and don't use -1 to specify a dimension that must be + calculated as in matrix). + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size -1. + + + + input size + + It indicates the size of the input matrix. + Properties : Type 'vec' of size -1. + + + + output size desired + + It indicates the desired output's size. + Properties : Type 'vec' of size -1. + + + + + Example + + u=[1 2 3 4;5 6 7 8] + When the output desired is [1;6] the output is: + y=[1 2 3 4 5 6] + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + mat_reshape + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATRESH.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_reshape.c + + + SCI/modules/scicos_blocks/src/c/matz_reshape.c + + + + + See also + + + + EXTRACT - Matrix Extractor (xcos Block) + + + + + matrix (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATSING.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATSING.xml new file mode 100755 index 000000000..4eb9879c6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATSING.xml @@ -0,0 +1,278 @@ + + + + + MATSING + SVD Decomposition + + + Block Screenshot + + + + + + + + + + Contents + + + + SVD Decomposition + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATSING block computes the economy sized SVD of the MxN input matrix A by finding U,S and V such that + + A=U*S*V'. + + When the decomposition type parameter is set to; + + + + + 1 : the output is a vector composed by the singular values. + + + + + + 2 : we have three outputs: the second output is a diagonal matrix + S composed by the singular values and the other two outputs are the unitary matrices U and V. + + + + + The equivalent function of this block in Scilab is svd(A,"e"). + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + decomposition type (1=singular values 2=sing + values+matrix U & V) + + + + It indicates the form of the output. When it is set to one, we have a unique vector output + (singular values). When it is set to two we have three same sizes matrices(U,S,V). + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_sing + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATSING.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_sing.c + + + SCI/modules/scicos_blocks/src/c/mat_svd.c + + + SCI/modules/scicos_blocks/src/c/matz_sing.c + + + SCI/modules/scicos_blocks/src/c/matz_svd.c + + + + + See also + + + + MATEIG - Matrix Eigenvalues (xcos Block) + + + + + MATLU - LU Factorization (xcos Block) + + + + + svd (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATSUM.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATSUM.xml new file mode 100755 index 000000000..1dcb9aa21 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATSUM.xml @@ -0,0 +1,286 @@ + + + + + MATSUM + Sum of Matrix's Elements + + + Block Screenshot + + + + + + + + + + Contents + + + + Sum of Matrix's Elements + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + The MATSUM block returns the sum of the element of an input matrix/vector. + + + When the Sum along is set to: + + + + + 0 (all) the block outputs the sum of all the elements of the matrix. + The output is then a scalar. + + + + + + 1 (lines) the block is a row-wise sum. The output is a row vector. + + + + + + 2 (Columns) the block is a column-wise sum. The output is a column vector. + + + + + The equivalent function of this block in Scilab is sum. + + + + + Dialog box + + + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Sum along (0=all 1=lines 2=Columns) + + Indicates the used rule to sum. For more information see the description part. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mat_sum + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATSUM.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mat_sum.c + + + SCI/modules/scicos_blocks/src/c/mat_suml.c + + + SCI/modules/scicos_blocks/src/c/mat_sumc.c + + + SCI/modules/scicos_blocks/src/c/matz_sum.c + + + SCI/modules/scicos_blocks/src/c/matz_suml.c + + + SCI/modules/scicos_blocks/src/c/matz_sumc.c + + + + + See also + + + + SUBMAT - Sub-matrix extraction (xcos Block) + + + + + SUMMATION - Matrix Summation (xcos Block) + + + + + sum (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATTRAN.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATTRAN.xml new file mode 100755 index 000000000..b811e58f5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATTRAN.xml @@ -0,0 +1,286 @@ + + + + + MATTRAN + Matrix Transpose + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Transpose + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + This block transposes an MxN matrix to a NxM matrix. The result depends on rule + parameter. When this parameter is equal to : + + + + + 1 : the block outputs the transposed matrix. + + + + + + 2 : the block outputs the transposed matrix of the conjugate matrix. + + + + + The equivalent operators of this block in Scilab are y=u.' and y=u'. See quote ('). + + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the data type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + rule(1=.' 2=') + + Indicates the transposition rule. See the description for more information. + Propriétés : Type 'vec' de taille 1. + + + + + Example + | 2+3i 5-8i | +-- -- | 3+2i 6-2i | +. -- -- +. Complex +-- -- -- -- +| 1+i 2+3i 3+2i | Tranpose (') | 1- i 4- i | +| 4+i 5-8i 6-2i | -----------> | 2-3i 5+8i | +-- -- | 3-2i 6+2i | +. -- -- +. Real +-- -- -- -- +| 1 -2 3 | Tranpose | 1 4 | +| 4 5 6 | -----------> |- 2 5 | +-- -- | 3 6 | +. -- -- + ]]> + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mattran_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATTRAN.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mattran_m.c + + + SCI/modules/scicos_blocks/src/c/matztran_m.c + + + + + See also + + + + MATZCONJ - Matrix conjugate (xcos Block) + + + + + quote (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/MATZCONJ.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/MATZCONJ.xml new file mode 100755 index 000000000..393a17b35 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/MATZCONJ.xml @@ -0,0 +1,220 @@ + + + + + MATZCONJ + Conjugate of Matrix's Elements + + + Block Screenshot + + + + + + + + + + Contents + + + + Conjugate of Matrix's Elements + + + + + + + Palette + + + + + Description + + + + + Example + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + This blocks computes a matrix containing the conjugate of the elements of a complex input matrix. + + + The equivalent function of this block in Scilab is conj. + + + + + Example + | 4-i 5+8i 6+2i | +-- -- -- -- + ]]> + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + matz_conj + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATZCONJ.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/matz_conj.c + + + + + See also + + + + MATTRAN - Matrix Transpose (xcos Block) + + + + + conj (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/RICC.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/RICC.xml new file mode 100755 index 000000000..eb47934e1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/RICC.xml @@ -0,0 +1,289 @@ + + + + + RICC + Riccati Equation + + + Block Screenshot + + + + + + + + + + Contents + + + + Riccati Equation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + This block computes the solution of Riccati equation using different method and for both case continuous + and discrete. + + + When the Type parameter is set to: + + + + + 1 : The Riccati equation in continuous time is: + + + A*X+X*A+C-X*D*X=0 + + + + + 2 : The Riccati equation in discrete time is: + + + A*X*(inv(In-D))*A-X+C=0 + + + + In this equations A is an NxN matrix, it is the first input of the block, C and D are two NxN + symmetrics matrices and are respectively the second and third input of the RICC block. X represent + the output of the block, it is also a NxN matrix. + + + The user can choose between two methods of computation with Model + parameter. If this parameter is set to: + + + + + 1 : the block uses the Schur method for the discret and continuous cases. + + + + + + 2 : the block uses the matrix sign function approach method for continuous + time case and the inverse free spectral decomposition method for discret time case. + + + + + + + Dialog box + + + + + + + + + + + + Type (1=Cont 2=Disc) + + For continuous time signal set this parameter to 1. For discrete input time set it to 2. + Properties : Type 'vec' of size 1. + + + + Model(1=Schr 2=sign(cont) inv(disc)) + + + To use the Schur method in computation set this parameter to 1. + To use matrix sign function approach in continuous case or the inverse + free spectral decomposition method in discrete case set this parameter to 2. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + - port 2 : size [-1,-1] / type 1 + + + - port 3 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + ricc_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/RICC.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/ricc_m.c + + + + + See also + + + + ricc (Scilab function) + + + + + riccati (Scilab function) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/ROOTCOEF.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/ROOTCOEF.xml new file mode 100755 index 000000000..28e01a010 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/ROOTCOEF.xml @@ -0,0 +1,221 @@ + + + + + ROOTCOEF + Polynomial Coefficient Computation + + + Block Screenshot + + + + + + + + + + Contents + + + + Polynomial Coefficient Computation + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + This block computes the coefficients of a polynomial given its root values. This roots are given on the input + in the form of a column vector. The length of the root's vector must be specified in the input row size parameter. + + + + Dialog box + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + input row size + + The input row size. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + root_coef + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/ROOTCOEF.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/root_coef.c + + + SCI/modules/scicos_blocks/src/c/rootz_coef.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Matrix_pal/SUBMAT.xml b/modules/xcos/help/en_US/palettes/Matrix_pal/SUBMAT.xml new file mode 100755 index 000000000..f32c0395c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Matrix_pal/SUBMAT.xml @@ -0,0 +1,266 @@ + + + + + SUBMAT + Sub-matrix Extraction + + + Block Screenshot + + + + + + + + + + Contents + + + + Sub-matrix Extraction + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Matrix operation palette + + + + + + Description + + This block outputs a sub matrix of the input matrix. The dimensions of the input matrix are specified + in the Input Dimension parameter. The user gives the range of extraction + with four parameters: + + + + + The parameters Starting Row Index and + Ending Row Index specify the lines range to be extracted. + + + + + + The parameters Starting Column Index and + Ending Column Index specify the column range to be extracted. + + + + + + + Dialog box + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + It indicates the type of the output. It support only the two types double (1) and complex (2). + If we input another entry in this label xcos will print the message "Datatype is not supported". + + Properties : Type 'vec' of size 1. + + + + Starting Row Index + + The first row of the sub-matrix. + Properties : Type 'vec' of size 1. + + + + Ending Row Index + + The last row of the sub-matrix. + Properties : Type 'vec' of size 1. + + + + Starting Column Index + + The first column of the sub-matrix. + Properties : Type 'vec' of size 1. + + + + Ending Column Index + + The last column of the sub-matrix. + Properties : Type 'vec' of size 1. + + + + Input Dimension + + The Matrix input dimensions. + Properties : Type 'vec' of size 2. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + submat + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/MatrixOp/SUBMAT.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/submat.c + + + SCI/modules/scicos_blocks/src/c/submatz.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/AA_Portaction_pal.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/AA_Portaction_pal.xml new file mode 100755 index 000000000..cac10c59f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/AA_Portaction_pal.xml @@ -0,0 +1,124 @@ + + + + + Portaction_pal + Port & Subsystem palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Port & Subsystem palette includes blocks for creating subsystems. + + + Blocks + + + + CLKINV_f — Input activation port Event-Select + + + + + CLKOUTV_f — Output activation port Event-Select + + + + + IN_f - Regular Input Port + + + + + INIMPL_f — Input implicit port + + + + + OUTIMPL_f — Output implicit port + + + + + OUT_f - Regular Output Port + + + + + SUPER_f — Super block + + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Portaction_pal/CHAPTER new file mode 100755 index 000000000..f132fcff1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/CHAPTER @@ -0,0 +1 @@ +title = Port & Subsystem palette diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/CLKINV_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/CLKINV_f.xml new file mode 100755 index 000000000..90956c94e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/CLKINV_f.xml @@ -0,0 +1,242 @@ + + + + + CLKINV_f + Input activation port + + + Block Screenshot + + + + + + + + + + Contents + + + + Input activation port + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palettes + + + + Port & Subsystem palette + + + + + Sources palette + + + + + Event handling palette + + + + + + Description + + This block represent an activation input port. It must only be used inside a Xcos Super Block and be connected + on an activation input in the subsystem. + + + This block is a event link from outside of a system into a sub-system. In a Super Block, the activation's input + ports must be numbered from 1 to the total number of activation's input ports. You can set it with the + Port number parameter. + + + + Dialog box + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + input + + + + + + Example + + In this example, we create a square wave generator with two inverted outputs by using a SUPER_f block with the contents + shown in the following figure, where you can see the use of the CLKINV_f block as event input of the internal + square wave generator. + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/CLKINV_f.sci + + + + + + See also + + + CLKOUTV_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/CLKOUTV_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/CLKOUTV_f.xml new file mode 100755 index 000000000..3475c59da --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/CLKOUTV_f.xml @@ -0,0 +1,243 @@ + + + + + CLKOUTV_f + Output activation port + + + Block Screenshot + + + + + + + + + + Contents + + + + Output activation port + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Port & Subsystem palette + + + + + Sinks palette + + + + + Event handling palette + + + + + + Description + + This block represent an activation output port. It must only be used inside a Xcos Super Blockand be connected + to an activation output on an internal activation output in the subsystem. + + + This block is an event link from outside of a system into a sub-system. In a Super Block, the activation's output + ports must be numbered from 1 to the total number of activation's output ports. You can set it with the Port number parameter. + + + + Dialog box + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + output + + + + + + Example + + The Super bloc below is mainly a frequency divider by 4, associated to an one event generation at time + + t = 3 s + + . + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/CLKOUTV_f.sci + + + + + + See also + + + CLKINV_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/INIMPL_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/INIMPL_f.xml new file mode 100755 index 000000000..ce393cc8f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/INIMPL_f.xml @@ -0,0 +1,249 @@ + + + + + INIMPL_f + Implicit Input port + + + Block Screenshot + + + + + + + + + + Contents + + + + Implicit Input port + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palettes + + + + Port & Subsystem + + + + + Sources + + + + + + Description + + This block represent an implicit input port. It must only be used inside a Xcos Super Block + and be connected to an implicit input in the subsystem. + + + This block is a signal link from outside of a system into a sub-system. In a Super Block, the implicit's input ports must be numbered from 1 to the total number of implicit's input ports. + You can set it with the Port number parameter. + + + + Dialog box + + + + + + + + + + + + Port number + + Specify the port number of the input port. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + inimpl + + + + + + Exemple + + The following example shows the use of the INIMPL_f block. The Super block contains a simple electrical circuit with two inputs, one on the + resistor and the other for the ground. These inputs are connected to the external environment of the bloc via two INIMPL_f blocks numbered 1 + and 2. The Super block output is connected via a OUTIMPL_f block. + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/INIMPL_f.sci + + + + + + See also + + + OUTIMPL_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/IN_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/IN_f.xml new file mode 100755 index 000000000..7de6202d2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/IN_f.xml @@ -0,0 +1,287 @@ + + + + + IN_f + Regular Input Port + + + Block Screenshot + + + + + + + + + + Contents + + + + Regular Input Port + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palettes + + + + Port & Subsystem palette + + + + + Sources Palette + + + + + + Description + + This block represent a regular input port. It must only be used inside a Xcos Super Block and be connected to a regular input in the subsystem. + + + This block is a signal link from outside of a system into a sub-system. In a Super Block, the regular's input ports must be numbered from 1 to the total number of regular's input ports. You can set it with the Port number parameter. + + + + Data types + + + + Output : same type that the input connected to it in the sub-system. + + + + + + Dialog box + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + Output port size + + An vector of two integers defining the expected + signal dimensions ([#rows #columns]). By default this + field is set to [-1 -2] which means that the + dimensions are inherited from the upper level. It + should be useful to assign fixed values for separate + compilation of the super block (Code Generation + ). + + Properties : Type 'vec' of size -1. + + + + Output port type + + An integer defining the expected signal type. + By default this + field is set to 1 which means that the type + is inherited from the upper level. It + should be useful to assign a fix value for separate + compilation of the super block (Code Generation + ). + + Properties : Type 'vec' of size 1. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + input + + + + + + Example + + In the following example the Super block is an amplitude modulator. + The IN_f block is used as a modulation signal input. + Its data type is defined by the input type of the gain block that is a scalar double data type. + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/IN_f.sci + + + + + + See also + + + OUT_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/OUTIMPL_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/OUTIMPL_f.xml new file mode 100755 index 000000000..98aa8bc3b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/OUTIMPL_f.xml @@ -0,0 +1,247 @@ + + + + + OUTIMPL_f + Output implicit port + + + Block Screenshot + + + + + + + + + + Contents + + + + Output implicit port + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palettes + + + + Port & Subsystem palette + + + + + Sinks palette + + + + + + Description + + This block represents a regular implicit port. It must only be used inside a Xcos Super Block and be connected to an implicit output of an internal implicit output in the sub-system. + + + This block is a signal link from outside of a system into a sub-system. In a Super Block, the implicit's output ports must be numbered from 1 to the total number of implicit's output ports. You can set it with the Port number parameter. + + + + Dialog box + + + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + outimpl + + + + + + Example + + In the following example the Super block is a basic transistor switch. + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/OUTIMPL_f.sci + + + + + + See also + + + INIMPL_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Portaction_pal/OUT_f.xml b/modules/xcos/help/en_US/palettes/Portaction_pal/OUT_f.xml new file mode 100755 index 000000000..f21b2859b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Portaction_pal/OUT_f.xml @@ -0,0 +1,260 @@ + + + + + OUT_f + Regular Output Port + + + Block Screenshot + + + + + + + + + + Contents + + + + Regular Output Port + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palettes + + + + Port & Subsystem palette + + + + + Sinks palette + + + + + + Description + + This block represent a regular output port. It must only be used inside a Xcos Super Block and be connected to a regular output in the sub-system. + + + This block is a signal link from outside of a system into a sub-system. In a Super Block, the regular's output ports must be numbered from 1 to the total number of regular's output ports. You can set it with the Port number parameter. + + + + Data types + + + + Input : same type that the internal block connected to it in the sub-system. + + + + + + Dialog box + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + output + + + + + + Example + + In the following example the Super block encloses two discontinuities. The OUT_f block is the non linear output signal. + + + + + + + + + + + + The following figure shows the output of the bloc : + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/OUT_f.sci + + + + + + See also + + + IN_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalprocessing_pal/AA_Signalprocessing_pal.xml b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/AA_Signalprocessing_pal.xml new file mode 100755 index 000000000..21db96871 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/AA_Signalprocessing_pal.xml @@ -0,0 +1,85 @@ + + + + + Signalprocessing_pal + Signal processing palette + + + Block Screenshot + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The signal processing palette contains blocks designed specifically + for signal processing applications. + + + + Blocks + + + + MCLOCK_f + + + + + MFCLCK_f + + + + + QUANT_f — Quantization + + + + + SAMPHOLD_m — Sample and hold + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalprocessing_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/CHAPTER new file mode 100755 index 000000000..dc4e9ae32 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/CHAPTER @@ -0,0 +1 @@ +title = Signal processing palette diff --git a/modules/xcos/help/en_US/palettes/Signalprocessing_pal/QUANT_f.xml b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/QUANT_f.xml new file mode 100755 index 000000000..e749e6100 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/QUANT_f.xml @@ -0,0 +1,289 @@ + + + + + QUANT_f + Quantization + + + Block Screenshot + + + + + + + + + + Contents + + + + Quantization + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal processing palette + + + + + + Description + + This block outputs the quantization of the input according to a choice + of methods (quantization types): + + + + + 1: Round + + Rounding the number of quantization steps (output signal is the nearest step) + + + + 2: Truncation + + Truncating the number of quantization steps (output signal is the nearest step towards 0) + + + + 3: Floor + + Rounding down the number of quantization steps (output signal is the nearest step towards -\infty) + + + + 4: Ceil + + Rounding up the number of quantization steps (output signal is the nearest step towards +\infty) + + + + + Dialog box + + + + + + + + + + + + + + Step + + scalar, Quantization step + Properties : Type 'vec' of size 1. + + + + Quantization Type + + scalar with possible values 1,2,3 or 4: the method of quantization used (respectively Truncation, Floor or Ceil) + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + qzrnd + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/NonLinear/QUANT_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/qzrnd.f + + + SCI/modules/scicos_blocks/src/fortran/qztrn.f + + + SCI/modules/scicos_blocks/src/fortran/qzflr.f + + + SCI/modules/scicos_blocks/src/fortran/qzcel.f + + + + + Example of a sine quantized every 0.2 step with the Ceil method (using the ceil value between two steps): + + + + + + + + + + + + + + Comparison of the different quantization modes: + + + + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalprocessing_pal/SAMPHOLD_m.xml b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/SAMPHOLD_m.xml new file mode 100755 index 000000000..32e23fba1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalprocessing_pal/SAMPHOLD_m.xml @@ -0,0 +1,229 @@ + + + + + SAMPHOLD_m + Sample and hold + + + Block Screenshot + + + + + + + + + + Contents + + + + Sample and hold + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Signal Processing palette + + + + + + Description + + Each time an input event is received block copy its input on the + output and hold it until input event. For periodic Sample and hold, + event input must be generated by a Clock. + + + + + Dialog box + + + + + + + + + + + + + + Datatype(1=real double 2=Complex 3=int32 ...) + + Output datatype. This block can support all data types. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + samphold4_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Linear/SAMPHOLD_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/samphold4_m.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/AA_Signalrouting_pal.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/AA_Signalrouting_pal.xml new file mode 100755 index 000000000..73ee46f20 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/AA_Signalrouting_pal.xml @@ -0,0 +1,251 @@ + + + + + Signalrouting_pal + Signal routing palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The Signal routing palette includes blocks that transport signals + from one point in a block diagram to another. + + + + Blocks + + + + 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 + + + + + + CLKFROM — Pass event output to CLKGOTO + block + + + + + + CLKGOTO — Pass event input to CLKFROM + 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 + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Signalrouting_pal/CHAPTER new file mode 100755 index 000000000..56ef90d95 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/CHAPTER @@ -0,0 +1 @@ +title = Signal routing palette diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/DEMUX.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/DEMUX.xml new file mode 100755 index 000000000..75d42c8fe --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/DEMUX.xml @@ -0,0 +1,220 @@ + + + + + DEMUX + Demultiplexer + + + Block Screenshot + + + + + + + + + + Contents + + + + Demultiplexer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + Given a vector valued input this block splits inputs over vector + valued outputs. So + , where are + numbered from top to bottom. Input and Output port sizes are + determined by the context. + + + + + Dialog box + + + + + + + + + + + + + + Number of output ports or vector of sizes + + + positive integer less than or equal to 8 + . + + Properties : Type 'vec' of size -1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [0,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-2,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + multiplex + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/DEMUX.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/multiplex.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/EXTRACTOR.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/EXTRACTOR.xml new file mode 100755 index 000000000..e838377d6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/EXTRACTOR.xml @@ -0,0 +1,210 @@ + + + + + EXTRACTOR + Extractor + + + Block Screenshot + + + + + + + + + + Contents + + + + Extractor + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + Extracts or select a regular input from a multiple regular input. + + + + + Dialog box + + + + + + + + + + + + + + indices to extract + + a regular input to be extracted from the multiple regular inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + extractor + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/EXTRACTOR.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/extractor.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROM.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROM.xml new file mode 100755 index 000000000..7afe96be1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROM.xml @@ -0,0 +1,219 @@ + + + + + FROM + FROM Receives data from a corresponding GOTO + + + Block Screenshot + + + + + + + + + + Contents + + + + FROM Receives data from a corresponding GOTO + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + The main role of the GOTO/FROM blocks is to transport signals from a block to another block without connecting them physically. The FROM block transports its received data (from the corresponding GOTO) to its output. Multiples FROM blocks can receive data from one GOTO, although a GOTO can send data to multiple FROM. + + + The GOTO and FROM blocks are connected by the tag parameter. + + + For information on the visibility and limitation of these blocks please refer to the GOTO documentation. + + + This block can support all the data types. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + The tag of the GOTO block passing the signal to this FROM block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + from + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/FROM.sci + + + + + See also + + + + GOTO - GOTO Pass block input to From block + + + + + GotoTagVisibility - Define Scope of GOTO tag visibility + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROMMO.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROMMO.xml new file mode 100755 index 000000000..008e57d2d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/FROMMO.xml @@ -0,0 +1,205 @@ + + + + + FROMMO + Receives data from a corresponding GOTOMO + + + Block Screenshot + + + + + + + + + + Contents + + + + Receives data from a corresponding GOTOMO + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal Routing palette + + + + + + Description + + This block is used to connect Modelica blocks. For more information on how it works please refer to the documentation of the FROM block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + The tag of the GOTOMO block passing the signal to this FROMMO block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + frommo + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/FROMMO.sci + + + + + See also + + + + FROM - FROM Receives data from a corresponding GOTO (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTO.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTO.xml new file mode 100755 index 000000000..d91be204c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTO.xml @@ -0,0 +1,232 @@ + + + + + GOTO + GOTO Pass block input to From block + + + Block Screenshot + + + + + + + + + + Contents + + + + GOTO Pass block input to From block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + The main role of the GOTO/FROM blocks is to transport signals from a block to another block without connecting them physically. The GOTO block transports its input data to its corresponding FROM block. A simple GOTO block can send data to multiple FROM, although a FROM can receive data from only one GOTO. + + + The GOTO and FROM blocks are connected by the tag parameter. + + + The "Tag Visibility" parameter indicates if the location of the FROM block is limited: + + - Local: means that the corresponding FROM of that GOTO must be in the same subsystem. + + - Scoped: means that the corresponding FROM of that GOTO must be in the same subsystem or in any subsystem below the GotoTagVisibility block in the model hierarchy. + + - Global: means that the corresponding FROM of that GOTO can be anywhere in the model. + + + This block can support all the data types. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + This parameter identifies the Goto block whose scope is defined in this block. + Properties : Type 'str' of size -1. + + + + Tag Visibility(1=Local 2=scoped 3= global) + + This parameter identifies the visibility of the block. It can be local(1), scoped(2) or global(3). + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + goto + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/GOTO.sci + + + + + See also + + + + FROM - FROM Receives data from a corresponding GOTO + + + + + GotoTagVisibility - Define Scope of GOTO tag visibility + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTOMO.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTOMO.xml new file mode 100755 index 000000000..afff22434 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GOTOMO.xml @@ -0,0 +1,212 @@ + + + + + GOTOMO + Pass block input to FROMMO block + + + Block Screenshot + + + + + + + + + + Contents + + + + Pass block input to FROMMO block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal Routing palette + + + + + + Description + + This block is used to connect Modelica blocks. For more information on how it works please refer to the documentation of the GOTO block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + Tag + + This parameter identifies the Goto block whose scope is defined in this block. + Properties : Type 'str' of size -1. + + + + Tag Visibility(1=Local 2=scoped 3= global) + + This parameter identifies the visibility of the block. It can be local(1), scoped(2) or global(3). + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + gotomo + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/GOTOMO.sci + + + + + See also + + + + GOTO - GOTO Pass block input to From block (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibility.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibility.xml new file mode 100755 index 000000000..e8da0e6c9 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibility.xml @@ -0,0 +1,202 @@ + + + + + GotoTagVisibility + Define Scope of GOTO tag visibility + + + Block Screenshot + + + + + + + + + + Contents + + + + Define Scope of GOTO tag visibility + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + This block defines the accessibility of the GOTO block when it is configure as "scoped". The FROM block corresponding to that GOTO must be in the same subsystem of the GotoTagVisibility or in subsystems below it in the model hierarchy. + + + + + + Dialog box + + + + + + + + + + + + + + GotoTag + + The Goto block tag whose visibility is defined by the location of this block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + gototagvisibility + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/GotoTagVisibility.sci + + + + + See also + + + + GOTO - GOTO Pass block input to From block + + + + + FROM - FROM Receives data from a corresponding GOTO + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibilityMO.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibilityMO.xml new file mode 100755 index 000000000..456b81e01 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/GotoTagVisibilityMO.xml @@ -0,0 +1,197 @@ + + + + + GotoTagVisibilityMO + Define Scope of GOTOMO tag visibility + + + Block Screenshot + + + + + + + + + + Contents + + + + Define Scope of GOTOMO tag visibility + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Signal Routing palette + + + + + + Description + + This block is used in case of Modelica connection. For more information on how it works please refer to the GotoTagVisibility block by clicking on the link in the "See also" field. + + + + + + Dialog box + + + + + + + + + + + + + + GotoTag + + The Goto block tag whose visibility is defined by the location of this block. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + gototagvisibilitymo + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/GotoTagVisibilityMO.sci + + + + + See also + + + + GotoTagVisibility - Define Scope of GOTO tag visibility (xcos Block) + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/ISELECT_m.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/ISELECT_m.xml new file mode 100755 index 000000000..be1b2cb01 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/ISELECT_m.xml @@ -0,0 +1,228 @@ + + + + + ISELECT_m + Iselect + + + Block Screenshot + + + + + + + + + + Contents + + + + Iselect + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + Select signals from an incoming events. This block has one regular + input port. + + + + + Dialog box + + + + + + + + + + + + + + Datatype(1= real double 2=Complex) + + It indicates the type of the output. It support only the two types double (1) and complex (2). If we input another entry in this label Xcos will print the message "Datatype is not supported". + Properties : Type 'vec' of size 1 + + + + number of outputs + + a scalar. Number of regular and event outputs. + Properties : Type 'vec' of size 1 + + + + initial connected output + + an integer. It must be between 1 and the number of inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 2 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + selector_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/ISELECT_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/selector_m.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/MUX.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/MUX.xml new file mode 100755 index 000000000..853ca21df --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/MUX.xml @@ -0,0 +1,217 @@ + + + + + MUX + Multiplexer + + + Block Screenshot + + + + + + + + + + Contents + + + + Multiplexer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + Given vector valued inputs this block merges inputs in an single + output vector. So + , where are + numbered from top to bottom. Input and Output port sizes are + determined by the context. + + + + + Dialog box + + + + + + + + + + + + + + Number of input ports or vector of sizes + + integer greater than or equal to 1 and less than 8. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-2,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [0,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + multiplex + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/MUX.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/multiplex.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/M_SWITCH.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/M_SWITCH.xml new file mode 100755 index 000000000..f83c75781 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/M_SWITCH.xml @@ -0,0 +1,233 @@ + + + + + M_SWITCH + Multi-port switch + + + Block Screenshot + + + + + + + + + + Contents + + + + Multi-port switch + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + The Multi-Port Switch block chooses between a number of inputs. The + first (top) input is called the control input, while the rest of the + inputs are called data inputs. The value of the control input + determines which data input is passed through to the output port. + + + + + Dialog box + + + + + + + + + + + + + + number of inputs + + Specify the number of data inputs to the block. + Properties : Type 'vec' of size 1 + + + + zero base indexing + + If selected, the block uses zero-based indexing. Otherwise, the block uses one-based indexing. + Properties : Type 'vec' of size 1 + + + + rounding rule: int + + Select the rounding mode for the output. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [-1,1] / type 0 + + + - port 3 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + mswitch + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/M_SWITCH.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/mswitch.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/NRMSOM_f.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/NRMSOM_f.xml new file mode 100755 index 000000000..3a05a9607 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/NRMSOM_f.xml @@ -0,0 +1,203 @@ + + + + + NRMSOM_f + Merge data + + + Block Screenshot + + + + + + + + + + Contents + + + + Merge data + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + The Merge block combines its inputs into a single output line whose + value at any time is equal to the most recently computed output of its + driving blocks. You can specify any number of inputs by setting the + block's Number of inputs parameter. + + + + + Dialog box + + + + + + + + + + + + + + number of inputs + + The number of input ports to be merged. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + junk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/NRMSOM_f.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/RELAY_f.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/RELAY_f.xml new file mode 100755 index 000000000..4ad22ae7b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/RELAY_f.xml @@ -0,0 +1,241 @@ + + + + + RELAY_f + Relay + + + Block Screenshot + + + + + + + + + + Contents + + + + Relay + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + This block routes one of the regular inputs to the unique regular + output. the choice of which input is to be routed is done, initially + by the "initial connected input" parameter. Then, every time an input + event arrives on the i-th input event port, the i-th regular input + port is routed to the regular output. + + + + + Dialog box + + + + + + + + + + + + + + number of inputs + + a scalar. Number of regular and event inputs. + Properties : Type 'vec' of size 1 + + + + initial connected input + + an integer. It must be between 1 and the number of inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 2 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + relay + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/RELAY_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/relay.c (Type 2) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELECT_m.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELECT_m.xml new file mode 100755 index 000000000..50209b070 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELECT_m.xml @@ -0,0 +1,246 @@ + + + + + SELECT_m + Select + + + Block Screenshot + + + + + + + + + + Contents + + + + Select + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + A Selector block accepts either vector or matrix signals as input. Set + the Input Type parameter to the type of signal (vector or matrix) that + the block should accept in your model. The parameter dialog box and + the block's appearance change to reflect the type of input that you + select. The way the block determines the elements to select differs + slightly, depending on the type of input. + + + + + Dialog box + + + + + + + + + + + + + + Datatype(1= real double 2=Complex) + + It indicates the type of the output. It support only the two types double (1) and complex (2). If we input another entry in this label Xcos will print the message "Datatype is not supported". Properties : Type 'vec' of size 1 + + + + number of inputs + + a scalar. Number of regular and event inputs. + Properties : Type 'vec' of size 1 + + + + initial connected input + + an integer. It must be between 1 and the number of inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 2 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + selector_m + + + + + + Example + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/SELECT_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/selector_m.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELF_SWITCH.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELF_SWITCH.xml new file mode 100755 index 000000000..d259f5340 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SELF_SWITCH.xml @@ -0,0 +1,175 @@ + + + + SELF_SWITCH + Switch + + + Block Screenshot + + + + + + + + + + + + + Contents + + + + Switch + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + This is an Automatic Switch Block. Double Click on it to invert it's state (on/off). + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/SELF_SWITCH.sci + + + + + Computational function + + + SELF_SWITCH is a SuperBLock. + + + + + Examples + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH2_m.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH2_m.xml new file mode 100755 index 000000000..077662c04 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH2_m.xml @@ -0,0 +1,308 @@ + + + + + SWITCH2_m + Switch2 + + + Block Screenshot + + + + + + + + + + Contents + + + + Switch2 + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + The Switch block passes through the first (top) input or the third + (bottom) input based on the value of the second (middle) input. The + first and third inputs are called data inputs. The second input is + called the control input. You select the conditions under which the + first input is passed with the Criteria for passing first input + parameter. You can make the block check whether the control input is + greater than or equal to the threshold value, purely greater than the + threshold value, or nonzero. If the control input meets the condition + set in the Criteria for passing first input parameter, then the first + input is passed. Otherwise, the third input is passed. + + + + + Dialog box + + + + + + + + + + + + + + Datatype + + a scalar. Give the datatype of the inputs/output. + + + + 1: matrix of real numbers, + + + + + 2: matrix of complex numbers, + + + + + 3: matrix of int32 numbers, + + + + + 4: matrix of int16 numbers, + + + + + 5: matrix of int8 numbers, + + + + + 6: matrix of uint32 numbers, + + + + + 7: matrix of uint16 numbers, + + + + + 8: matrix of uint8 numbers. + + + + + Properties : Type 'vec' of size 1 + + + + + Pass first input if: u2 ≥ a + + + Select the conditions under which the first input is passed. You can make the block check whether the control input is greater than or equal to the threshold value, purely greater than the threshold value, or nonzero. If the control input meets the condition set in this parameter, then the first input is passed. Otherwise, the third input is passed. + Properties : Type 'vec' of size 1. + + + + Threshold a + + Assign the switch threshold that determines which input is passed to the output. + Properties : Type 'vec' of size 1. + + + + Use zero crossing: yes + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [1,1] / type 0 + + + - port 3 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + switch2_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/SWITCH2_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/switch2_m.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH_f.xml b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH_f.xml new file mode 100755 index 000000000..612e0f551 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Signalrouting_pal/SWITCH_f.xml @@ -0,0 +1,222 @@ + + + + + SWITCH_f + Switch + + + Block Screenshot + + + + + + + + + + Contents + + + + Switch + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Signal routing palette + + + + + + Description + + This is a Manual Switch block. It selects one of its inputs to pass + through to the output. The selected input is propagated to the output, + while the unselected inputs are discarded. + + + + + Dialog box + + + + + + + + + + + + + + number of inputs + + Specify the number of data inputs to the block. + Properties : Type 'vec' of size 1 + + + + connected input + + an integer. It must be between 1 and the number of inputs. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + switchn + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Branching/SWITCH_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/switchn.c (Type 2) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/AA_Sinks_pal.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/AA_Sinks_pal.xml new file mode 100755 index 000000000..5611e10de --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/AA_Sinks_pal.xml @@ -0,0 +1,283 @@ + + + + + Sinks_pal + Sinks palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + In Sinks palette, you can find a variety of blocks used to display + (Scope) and write data during simulation and also some output ports used + in superblocks. + + The blocks of that palette does not have regular output + ports. + + + + Blocks + + + + AFFICH_m - Display + + + + + CANIMXY - y=f(x) animated viewer + + + + + CANIMXY3D - z=f(x,y) animated + viewer + + + + + + CFSCOPE - Floating point scope + + + + + CLKOUTV_f - Output activation port + + + + + 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 + viewer + + + + + + END_c - END_c block + viewer + + + + + + HALT_f - Halt block + viewer + + + + + + OUTIMPL_f - Output implicit port + viewer + + + + + + OUT_f - Output port + viewer + + + + + + TOWS_c - Data to Scilab worspace + + + + + TRASH_f — Trash block + + + + + WFILE_f — Write to file + + + + + WRITEAU_f — Write AU sound file + + + + + Write binary data + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/AFFICH_m.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/AFFICH_m.xml new file mode 100755 index 000000000..8ee9ab237 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/AFFICH_m.xml @@ -0,0 +1,260 @@ + + + + + AFFICH_m + Display + + + Block Screenshot + + + + + + + + + + Contents + + + + Display + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block displays the value of its unique input inside the block (in + the diagram) during simulation. + + + + + Dialog box + + + + + + + + + + + + + + Input Size + + Explicitly define the size of the input port. + Properties : Type 'mat' of size [1,2]. + + + + Font number + + integer, the selected font number (see xset). + Properties : Type 'vec' of size 1 + + + + Font size + + integer, the selected font size (set xset) + Properties : Type 'vec' of size 1 + + + + Color + + integer, the selected color for the text (see xset) + Properties : Type 'vec' of size 1 + + + + Total number of digits + + an integer greater than 3, the maximum number of digits used to represent the number (sign, integer part and rational part) + Properties : Type 'vec' of size 1 + + + + Number of rational part digits + + n integer greater than or equal 0, the number of digits used to represent the rational part + Properties : Type 'vec' of size 1 + + + + Block inherits + + Options to choose event inheritance from regular input or from explicit event input (0). + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + affich2 + + + + + + Example + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/AFFICH_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/affich2.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/BARXY.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/BARXY.xml new file mode 100755 index 000000000..16e076962 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/BARXY.xml @@ -0,0 +1,232 @@ + + + + BARXY + y=f(x) animated viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + y=f(x) animated viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block realizes the visualization of the evolution of the two regular input signals by drawing solid bars between two consecutive inputs representing x and y coordinates. + + + + + + Dialog box + + + + + + + + + + + + + + Xmin + + Minimum value of the first input; used to set up the X-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Xmax + + Maximum value of the first input; used to set up the X-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Ymin + + Minimum value of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Ymax + + Maximum value of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Segs Thickness + + Thickness of segs that will be displayed. + Properties: Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1, -1] / type 1 (must have at least a par sized vector of inputs). + + + - port 2 : size [-1, -1] / type 1 (must have at least a par sized vector of inputs). + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + BARXY_sim + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/BARXY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/macros/Sinks/BARXY_sim.sci (Type 5) + + + + + Animated bar viewer example + + + + + + + + + + See also + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY.xml new file mode 100755 index 000000000..22924f7a8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY.xml @@ -0,0 +1,303 @@ + + + + + CANIMXY + y=f(x) animated viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + y=f(x) animated viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block realizes the visualization of the evolution of the two regular input signals by drawing the second input as a function of the first at instants of events on the event input port. When a point is drawn on screen it stays until the buffer length is reached. This scope is useful to make simple animations. + + + + + + Dialog box + + + + + + + + + + + + + + Number of Curves + + Set the number of curves. + Properties : Type 'vec' of size 1 + + + + color + + + an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. Seexset() for color (dash type) definitions. + + Properties : Type 'vec' of size 1 + + + + line or mark size + + an integer. + Properties : Type 'vec' of size 1 + + + + Output window number + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired). + Properties: Type 'vec' of size 1 + + + + Output window position + + A 2 element vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties: Type 'vec' of size -1 + + + + Output window sizes + + A 2 element vector specifying the width and height of the graphic window. Answer [] for default window dimensions. + Properties: Type 'vec' of size -1 + + + + Xmin + + Minimum value of the first input: used to set up the X-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Xmax + + Maximum value of the first input: used to set up the X-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Ymin + + Minimum value of the second input: used to set up the Y-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Ymax + + Maximum value of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties: Type 'vec' of size 1 + + + + Buffer size + + An integer value. In order to minimize the number of graphics outputs, data may buffered. + Properties: Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + canimxy + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CANIMXY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/canimxy.c (Type 4) + + + + + Animated point viewer example + + + + + + + + + + See also + + + + CANIMXY3D - z=f(x,y) animated viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY3D.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY3D.xml new file mode 100755 index 000000000..1f110070f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CANIMXY3D.xml @@ -0,0 +1,306 @@ + + + + + CANIMXY3D + z=f(x,y) animated viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + z=f(x,y) animated viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block realizes the visualization of the evolution of the three regular input signals by drawing the third input as a function of the two others at instants of events on the event input port. When a point is drawn on screen it stays until the buffer length is reached. This scope is useful to make simple animations. + + + + + + Dialog box + + + + + + + + + + + + + + Number of Curves + + Set the number of curves. + Properties : Type 'vec' of size -1 + + + + color + + + an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. Seexset() for color (dash type) definitions. + + Properties : Type 'vec' of size -1 + + + + line or mark size + + an integer. + Properties : Type 'vec' of size -1 + + + + Output window number + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired). + Properties : Type 'vec' of size -1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the width and height of the graphic window. Answer [] for default window dimensions. + Properties : Type 'vec' of size -1 + + + + Xmin and Xmax + + Minimum and Maximum values of the first input; used to set up the X-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Ymin and Ymax + + Minimum and Maximum values of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Zmin and Zmax + + Minimum and Maximum values of the third input; used to set up the Z-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Alpha and Theta + + Set Alpha and Theta for the 3D view. + Properties : Type 'vec' of size -1 + + + + Buffer size + + An integer value. In order to minimize the number of graphics outputs, data may buffered. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + canimxy3d + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CANIMXY3D.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/canimxy3d.c (Type 4) + + + + + Animated function viewer example + + + + + + + + + + See also + + + + CANIMXY - y=f(x) animated viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CFSCOPE.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CFSCOPE.xml new file mode 100755 index 000000000..97f394599 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CFSCOPE.xml @@ -0,0 +1,267 @@ + + + + + CFSCOPE + Floating point scope + + + Block Screenshot + + + + + + + + + + Contents + + + + Floating point scope + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This is a floating scope block. + + + + + + Dialog box + + + + + + + + + + + + + + Color + + + a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seeplot2d for color (dash type) definitions. + + Properties : Type 'vec' of size 8 + + + + Output window number + + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If default value is used(1) , Xcos define the output window number. + + Properties : Type 'vec' of size 1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Ymin + + Minimum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Ymax + + Maximum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Refresh period + + Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value. + Properties : Type 'vec' of size + + + + Buffer size + + + To improve efficiency it is possible to buffer the input data. The drawing is only done after eachBuffer size call to the block. + + Properties : Type 'vec' of size 1 + + + + Links to view + + This parameter allows you to display the output of specified link. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cfscope + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CFSCOPE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cfscope.c (Type 4) + + + + + Floating point scope example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Sinks_pal/CHAPTER new file mode 100755 index 000000000..26a13258c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CHAPTER @@ -0,0 +1 @@ +title = Sinks palette diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CMAT3D.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CMAT3D.xml new file mode 100755 index 000000000..736747fef --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CMAT3D.xml @@ -0,0 +1,260 @@ + + + + + CMAT3D + Matrix z values 3D viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix z values 3D viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + CMAT3D is a scope that shows matrix values as z values on a xy grid. + + + + + + Dialog box + + + + + + + + + + + + + + Bounds Vector X (-1 for standard) + + If you let -1 the x ticks would be between 0 and 1 else you can put your own vector. + Properties: Type 'vec' of size -1. + + + + Bounds Vector Y (-1 for standard) + + If you let -1 the x ticks would be between 0 and 1 else you can put your own vector. + Properties: Type 'vec' of size -1. + + + + ColorMap + + The colormap is a range color linked to the window output of the scope. You can put a jetcolormap or hotcolormap or graycolormap or your own (see colormap help). + + Properties: Must be a mx3 matrix and m ≥ 3 + + + + + Zmin + + Minimum value in Z values + Properties: Type 'vec' of size 1. + + + + Zmax + + Maximum values in Z values + Properties: Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1: size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cmat3d + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CMAT3D.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cmat3d.c (Type 4) + + + + + Example + + + + + + + + + + + + See also + + + + CMATVIEW - Matrix Colormapped viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CMATVIEW.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CMATVIEW.xml new file mode 100755 index 000000000..46f1e8b90 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CMATVIEW.xml @@ -0,0 +1,251 @@ + + + + + CMATVIEW + Matrix Colormapped viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + Matrix Colormapped viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + CMATVIEW is a scope that shows matrix values on a colormapped grid. + + + + + + Dialog box + + + + + + + + + + + + + + ColorMap + + The colormap is a range color linked to the window output of the scope. You can put a jetcolormap or hotcolormap or graycolormap or your own (see colormap help). + + Properties: Must be a mx3 matrix and m ≥ 3 + + + + + Minimum level range + + The minimum level range is the minimum value who comes in the regular input port. It would be linked to the 'cold value' of the colormap. + Properties: A scalar + + + + Maximum level range + + The maximum level range is the maximum value who comes in the regular input port. It would be linked to the 'hot value' of the colormap. + Properties: A scalar + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1: size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cmatview + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CMATVIEW.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cmatview.c (Type 4) + + + + + Example + + + + + + + + + + + + See also + + + + CMAT3D - Matrix z values 3D viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CMSCOPE.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CMSCOPE.xml new file mode 100755 index 000000000..9e8ddb2d6 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CMSCOPE.xml @@ -0,0 +1,297 @@ + + + + + CMSCOPE + Multi display scope + + + Block Screenshot + + + + + + + + + + Contents + + + + Multi display scope + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + When you start a simulation, Xcos open Scope windows. The Scope + block displays its input with respect to simulation time. The Scope + block can have multiple axes (one per port); all axes have a common + time range with independent y-axes. The Scope allows you to adjust the + amount of time and the range of input values displayed. + + + + + Dialog box + + + + + + + + + + + + + + Input ports sizes + + It allows multiple input ports. + Properties : Type 'vec' of size -1 + + + + Drawing colors + + + a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seeplot2d for color (dash type) definitions. + + Properties : Type 'vec' of size -1 + + + + Output window number + + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If default value is used(1) , Xcos define the output window number. + + Properties : Type 'vec' of size 1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size size -1 + + + + Ymin vector + + Minimum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size size(%1,'*') + + + + Ymax vector + + Maximum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size size(%1,'*') + + + + Refresh period + + Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value. + Properties : Type 'vec' of size size(%1,'*') + + + + Buffer size + + + To improve efficiency it is possible to buffer the input data. The drawing is only done after eachBuffer size call to the block. + + Properties : Type 'vec' of size 1 + + + + Accept herited events 0/1 + + + if 0CSCOPE_f draws a new point only when an event occurs on its event input port. if 1CSCOPE_f draws a new point when an event occurs on its event input port and when it's regular input changes due to an event on an other upstrem block (herited events). + + Properties : Type 'vec' of size 1 + + + + Name of Scope + + Name/label of the block. + Properties : Type 'str' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cmscope + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CMSCOPE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cmscope.c (Type 4) + + + + + Multi display scope example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPE.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPE.xml new file mode 100755 index 000000000..010ef94cc --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPE.xml @@ -0,0 +1,306 @@ + + + + + CSCOPE + Single Display Scope + + + Block Screenshot + + + + + + + + + + Contents + + + + Single Display Scope + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + The Scope block displays its input with respect to simulation + time. Both axes have a common range. The Scope allows you to adjust + the amount of time and the range of input values displayed. + + + + + Dialog box + + + + + + + + + + + + + + Color + + + a vector of integers. The i-th element is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the i-th input port signal. Seeplot2d for color (dash type) definitions. + + Properties : Type 'vec' of size 8 + + + + Output window number + + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If default value is used(1) , Scicos define the output window number. + + Properties : Type 'vec' of size 1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size 1 + + + + Output window sizes + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Ymin + + Minimum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Ymax + + Maximum values of the input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Refresh period + + Maximum value on the X-axis (time). The plot is redrawn when time reaches a multiple of this value. + Properties : Type 'vec' of size 1 + + + + Buffer size + + + To improve efficiency it is possible to buffer the input data. The drawing is only done after eachBuffer size call to the block. + + Properties : Type 'vec' of size 1 + + + + Accept herited events 0/1 + + + if 0CSCOPE_f draws a new point only when an event occurs on its event input port. If 1CSCOPE_f draws a new point when an event occurs on its event input port and when it's regular input changes due to an event on an other upstream block (herited events). + + Properties : Type 'vec' of size 1 + + + + Name of Scope + + Name/label of the block. + Properties : Type 'str' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cscope + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CSCOPE.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cscope.c (Type 4) + + + + + Single display scope example + + + + + + + + + + + + + See also + + + + CMSCOPE - Multi display scope + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY.xml new file mode 100755 index 000000000..dd367afff --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY.xml @@ -0,0 +1,304 @@ + + + + + CSCOPXY + y=f(x) permanent viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + y=f(x) permanent viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block realizes the visualization of the evolution of the two regular inputs signals + by drawing the second input as a function of the first at instants of events on the event input port. + When a point is drawn on screen it stays until the simulation is finished. + + + + + + Dialog box + + + + + + + + + + + + + + Number of Curves + + Set the number of curves. Properties : Type 'vec' of size 1 + + + + color + + + an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. Seeplot2d for color (dash type) definitions. + + Properties : Type 'vec' of size 1 + + + + line or mark size + + an integer. + Properties : Type 'vec' of size 1 + + + + Output window number + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired). + Properties : Type 'vec' of size 1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the width and height of the graphic window. Answer [] for default window dimensions. + Properties : Type 'vec' of size -1 + + + + Xmin + + Minimum values of the first input; used to set up the X-axis of the plot in the graphics window. + Properties : Type '' of size + + + + Xmax + + Maximum values of the first input; used to set up the X-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Ymin + + Minimum values of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Ymax + + Maximum values of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size 1 + + + + Buffer size + + To improve efficiency it is possible to buffer the input data. The drawing is only done after each Buffer size call to the block. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cscopxy + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CSCOPXY.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cscopxy.c (Type 4) + + + + + Permanent viewer example + + + + + + + + + + See also + + + + CSCOPXY3D - z=f(x,y) permanent viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY3D.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY3D.xml new file mode 100755 index 000000000..dcfcb9058 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/CSCOPXY3D.xml @@ -0,0 +1,308 @@ + + + + + CSCOPXY3D + z=f(x,y) permanent viewer + + + Block Screenshot + + + + + + + + + + Contents + + + + z=f(x,y) permanent viewer + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block realizes the visualization of the evolution of the three regular inputs signals + by drawing the third input as a function of the two others at instants of events on the event input port. + When a point is drawn on screen it stays until the simulation is finished. + + + + + + Dialog box + + + + + + + + + + + + + + Number of Curves + + Set the number of curves. + Properties : Type 'vec' of size -1 + + + + color + + + an integer. It is the color number (≥ 0) or marker type (< 0) used to draw the evolution of the input port signal. See xset() for color (dash type) definitions. + + Properties : Type 'vec' of size -1 + + + + line or mark size + + an integer. + Properties : Type 'vec' of size -1 + + + + Output window number + + The number of graphic window used for the display. It is often good to use high values to avoid conflict with palettes and Super Block windows. If you have more than one scope, make sure they do not have the same window numbers (unless superposition of the curves is desired). + Properties : Type 'vec' of size -1 + + + + Output window position + + a 2 vector specifying the coordinates of the upper left corner of the graphic window. Answer [] for default window position. + Properties : Type 'vec' of size -1 + + + + Output window sizes + + a 2 vector specifying the width and height of the graphic window. Answer [] for default window dimensions. + Properties : Type 'vec' of size -1 + + + + Xmin and Xmax + + Minimum and Maximum values of the first input; used to set up the X-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Ymin and Ymax + + Minimum and Maximum values of the second input; used to set up the Y-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Zmin and Zmax + + Minimum and Maximum values of the third input; used to set up the Z-axis of the plot in the graphics window. + Properties : Type 'vec' of size -1 + + + + Alpha and Theta + + Set Alpha and Theta for the 3D view. + Properties : Type 'vec' of size -1 + + + + Buffer size + + An integer value. In order to minimize the number of graphics outputs, data may buffered. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cscopxy3d + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/CSCOPXY3D.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cscopxy3d.c (Type 4) + + + + + Permanent viewer example + + + + + + + + + + See also + + + + CSCOPXY - y=f(x) permanent viewer + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/ENDBLK.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/ENDBLK.xml new file mode 100755 index 000000000..87ab8d32c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/ENDBLK.xml @@ -0,0 +1,226 @@ + + + + + ENDBLK + END block + + + Block Screenshot + + + + + + + + + + Contents + + + + END block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + See also + + + + + + + + Palette + + + + Sinks - Sinks palette + + + + + + Description + That block can be used to set the final time of the simulation. When + that block is truely parametrized then the simulator will jump to the + 'final integration time' defined in the Setup item of the simulate Menu + from the time defined by the parameter 'Final simulation time' of the + dialog box. That parameter can be a numerical value or a symbolic variable + defined in the scicos context. + + Note that the 'Final simulation time' item (on diagram settings) always end the simulation at the specified time. This block should be configured to end the simulation before this setting. + + + + Dialog box + + + + + + + + + + + + Final simulation time + + Set the final time of the simulation. + When simulator reaches that value then the current time will + jump to the final integration time. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/ENDBLK.sci + + + + + End example + + + + + + + + + + See also + + + + END_c - END_c block (Scicos + Block) + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/END_c.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/END_c.xml new file mode 100755 index 000000000..0552e3b3b --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/END_c.xml @@ -0,0 +1,240 @@ + + + + + END_c + END_c block + + + Block Screenshot + + + + + + + + + + Contents + + + + END_c block + + + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Computational + function + + + + + + See also + + + + + + + + Palette + + + + Sinks - Sinks palette + + + + + + Description + That block increases the current time to the final integration time + of the simulation when it is activated : + + $$T_f = T_{cur}$$ + + with Tcur the activation date of + the block and Tf the final integration + time defined in the in the Setup item of the simulate Menu + (scs_m.props.tf). + + Note that the 'Final simulation time' item (on diagram settings) always end the simulation at the specified time. This block should be configured to end the simulation before this setting. + + + + Dialog box + + + + + + + + + + + + Final simulation time + + That parameter is a date for an initial output event. By using a + feed back from the event output port to the event input port, then + that block can himself end the simulation at the time defined by this + parameter. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 1 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + scicosexit + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Events/END_c.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/scicosexit.c (Type 4) + + + + + End example + + + + + + + + + + See also + + + + ENDBLK - END block (Scicos + Block) + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/TOWS_c.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/TOWS_c.xml new file mode 100755 index 000000000..68f5bdbdb --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/TOWS_c.xml @@ -0,0 +1,260 @@ + + + + + TOWS_c + Data to Scilab worspace + + + Block Screenshot + + + + + + + + + + Contents + + + + Data to Scilab worspace + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Example + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + That block is used to put simulated data in the scilab + workspace. + + + Each sampling time, both dates and values of input are + recorded. + + + Records are available after the simulation in Scilab's workspace + as variable.time and variable.values + where variable is the name given in the + Scilab variable name field. + + + + Dialog box + + + + + + + + + + + + Size of buffer + + Set the size of the input buffer. That gives the total number of + samples recorded during the simulation. + + That buffer is a circulate buffer. + Properties : Type 'vec' of size 1. + + + + Scilab variable name + + Set the name of the Scilab variable. This must be a valid + variable name. + + The simulation must be finished to retrieve that variable in the + Scilab workspace. + + Properties : Type 'str' of size 1. + + + + Inherit (no:0, yes:1) + + Options to choose event inheritance from regular input or from + explicit event input (0). + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type + -1 + + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + tows_c + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/TOWS_c.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/tows_c.c (Type 4) + + + + + Example + + + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/TRASH_f.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/TRASH_f.xml new file mode 100755 index 000000000..77e4d0206 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/TRASH_f.xml @@ -0,0 +1,186 @@ + + + + + TRASH_f + Trash block + + + Block Screenshot + + + + + + + + + + Contents + + + + Trash block + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + That block is an end-block. It do nothing. + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + trash + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/TRASH_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/trash.f (Type 0) + + + + + Trash example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/WFILE_f.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/WFILE_f.xml new file mode 100755 index 000000000..87df31de9 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/WFILE_f.xml @@ -0,0 +1,375 @@ + + + + + WFILE_f + + Write to output file. This function is obsolete. + + + + Block Screenshot + + + + + + + + + + Contents + + + + Write to output file + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + + Dialog box + + + + + + Default properties + + + + + + Example + + + + + + Interfacing function + + + + + + Computational function + + + + + + See also + + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block is obsolete, use WRITEC_f instead. + + + This block allows user to save data in a file with the name defined with the Output File Name parameter, in text formatted mode or in binary mode. + + + The file is a sequence of records. Each record has a length Output Size + 1 and the structure shown below: + + + + + + + + + + + where the first field is the date of the event received on the activation input of the block during the simulation and other fields the regular input data. Each call to the bloc writes a record in the file. + + + The Output Format parameter gives the record format. + + + + + For a binary file, this parameter is an empty string. + + + + + For a text file, this parameter is a string of format (Fortran syntax) enclosed by parentheses. + + + + + + + Data types + + + + + Input: a scalar or a column vector of length Input Size. + + + + + + Dialog box + + + + + + + + + + + + Input Size + + A scalar, the size of the input column vector. + Properties : Type 'vec' of size 1. + + + + Output File Name + + + A character string defining the path and the file name of the file to be written. The block support file name expansion and you can use environment variables + like HOME in the path, by example "HOME/my_datas/foo.datas". Without + file path, the file is writen in the directory defined by the PWD variable. + + The directory path must exist, otherwise you will be prompted by an error message. + Properties : Type 'str' of size 1. + + + + Output Format + + + A character string defining the Fortran format to use or nothing for an unformatted (binary) write. If given, the format must began by a left parenthesis and + end by a right parenthesis. Example: (10e3) + + Properties : Type 'str' of size 1. + + + + Buffer Size + + + To improve efficiency it is possible to buffer the input data. Data writing on the file is only done + after the filling of the buffer and at the end of simulation. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: yes + + + + + object discrete-time state: + no + + + + + name of computational function: + writef + + + + + + + Example + + In this example the block is used to record the output and its inverse of the sine wave generator. A multiplexer form the input vector of the WFILE_f block which record the data in + the file "TMPDIR/wfile_f.text". Then you can read these data with the block + RFILE_f. + + Open this example in Xcos + + . + + + + + + + + + + + + + + After the simulation of this example, you can see the contents of the file with Scinotes with the following command: + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/WFILE_f.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/writef.f (Type 0) + + + + + + See also + + + RFILE_f + + + READC_f + + + WRITEC_f + + + + + History + + + 5.4.0 + WFILE_f block declared as obsolete. + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEAU_f.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEAU_f.xml new file mode 100755 index 000000000..1ffa77600 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEAU_f.xml @@ -0,0 +1,228 @@ + + + + + WRITEAU_f + Write AU sound file + + + Block Screenshot + + + + + + + + + + Contents + + + + Write AU sound file + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sinks palette + + + + + + Description + + This block writes a sound file specified by the string *.au file. The + data should be arranged with one channel per column. Amplitude + values outside the range [-1,+1] are clipped prior to + writing. auwrite supports multichannel data for 8-bit mu-law and 8- + and 16-bit linear formats. + + + + + Dialog box + + + + + + + + + + + + + + Buffer size + + To improve efficiency it is possible to buffer the input data. read on the file is only done after each Buffer size call to the block. + Properties : Type 'vec' of size 1 + + + + Swap mode 0/1 + + + WithSwap mode=1 the file is supposed to be coded in "little endian IEEE format" and data are swaped if necessary to match the IEEE format of the processor. IfSwap + mode=0 + + then automatic bytes swap is disabled. + + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + writeau + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sinks/WRITEAU_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/writeau.c (Type 2) + + + + + Example + + + + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEC_f.xml b/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEC_f.xml new file mode 100755 index 000000000..e1bee3b8a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sinks_pal/WRITEC_f.xml @@ -0,0 +1,354 @@ + + + + + WRITEC_f + Write to C binary file + + + + Block Screenshot + + + + + + + + + + + Contents + + + + Write to C binary file + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + + Palette + + + + Sinks palette + + + + + + + Description + + This block allows to user to write data in a C binary file with the name defined by the string Output File Name. + The file is a sequence of records. Each record has the length fixed by the parameter Input Size and the structure shown + below: + + + + + + + + + + where the block inputs are numbered from top to bottom. + + The record fields must contains data of the same type defined by the parameter Output Format. + + + Each event on the activation input of the bloc writes a record in the file. Note that contrary in WFILE_f, the event dates are not recorded. + + + + + Data types + + + + Input: a scalar or a column vector of size Input Size. + + + + + + + Dialog box + + + + + + + + + + + + Input Size + + A scalar, the size of the input column vector. + Properties : Type 'vec' of size 1 + + + + Output File Name + + + A character string defining the path and the file name of the file to be write. The block support file name expansion and you can use environment variables like + HOME in the path, by example "HOME/my_data/foo.data". Without file path, the file is wrote in the directory defined by the + PWD variable. + + The file path must exist, otherwise you will be prompted by an error message. + Properties : Type 'str' of size 1 + + + + Output Format + + + A character string defining the format to use. The following string "l", "i", "s", "ul", "ui", "us", "d", "f", "c", "uc" + are used respectively to write int32, int16, int8, uint32, uint16, uint8, double, float, char or unsigned char data type. + + + You must use the same format when you read the file with READC_f. + + Properties : Type 'str' of size 1 + + + + Buffer size + + + To improve efficiency it is possible to buffer the input data. Data writing on the file is only done + when the buffer is full. + + Properties : Type 'vec' of size 1 + + + + Swap Mode (0:No, 1:Yes) + + Endian IEEE format + + + + 0: automatic bytes swap is disabled. + + + + + 1: the file is supposed to be coded in "little endian IEEE format" and data are + swapped if necessary to match the IEEE format of the processor. + + + + Properties : Type 'vec' of size 1 + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + writec + + + + + + + Example + + In this example the block is used to record the output of the sine wave generator. To record at the same time, the time + events, we use a TIME_f block and a multiplexer to form the input vector of the WRITEC_f block which record the data in + the file "TMPDIR/writec_f.data". Then you can read these data with the block + READC_f. + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sinks/WRITEC_f.sci + + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/writec.c (Type 2) + + + + + + See also + + + READC_f + + + RFILE_f + + + WFILE_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/AA_Sources_pal.xml b/modules/xcos/help/en_US/palettes/Sources_pal/AA_Sources_pal.xml new file mode 100755 index 000000000..312323b5a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/AA_Sources_pal.xml @@ -0,0 +1,278 @@ + + + + + Sources_pal + Sources palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + Most of blocks of the Source palette can be viewed as data + generators. That palette also contains blocks to read data from files and + input ports used in superblocks. + + The blocks of that palette does not have regular input ports. + + + Blocks + + + + CLKINV_f - Activation Input Port + + + + + CLOCK_c - Activation Clock + + + + + CONST_m - Constant + + + + + Counter - Counter + + + + + CURV_f - Signal Generator (defined by a curve) + + + + + FROMWSB - Data from Scilab Workspace to Xcos + + + + + GENSIN_f - Sine wave generator + + + + + GENSQR_f - Square Wave Generator + + + + + IN_f - Regular Input Port + + + + + INIMPL_f - Implicit Input Port + + + + + Modulo_Count - Modulo Counter + + + + + RAMP - Ramp Function + + + + + RAND_m - Random Generator + + + + + READAU_f - Read AU Sound File + + + + + READC_f - Read Binary Data + + + + + RFILE_f - Read From File + + + + + SampleCLK - Sample Time Clock + + + + + SAWTOOTH_f - Sawtooth Generator + + + + + Sigbuilder - Signal Creator/Generator + + + + + STEP_FUNCTION - Step Function + + + + + TIME_f - Simulation Time + + + + + TKSCALE - Adjust constant value with a tk widget + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Sources_pal/CHAPTER new file mode 100755 index 000000000..ddfbd38b2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/CHAPTER @@ -0,0 +1 @@ +title = Sources palette diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/CLOCK_c.xml b/modules/xcos/help/en_US/palettes/Sources_pal/CLOCK_c.xml new file mode 100755 index 000000000..451c5e2f5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/CLOCK_c.xml @@ -0,0 +1,233 @@ + + + + + CLOCK_c + Activation clock + + + Block Screenshot + + + + + + + + + + Contents + + + + Activation clock + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + The unique output of this block generates a regular train of events that are scheduled by + parameter Period in seconds. The starting date of events + generation can be set in seconds with the Initialisation Time + parameter. + + + + Dialog box + + + + + + + + + + + + Period + + Scalar. + Period is the time that separates two output events, it is the + inverse of the frequency of the clock. + + Properties : Type 'vec' of size 1. + + + + Initialisation Time + + Scalar. Starting date. + If negative the clock never starts. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Example + + A simple example of CLOCK_c block event output. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/CLOCK_c.sci + + + + + + See also + + + SampleCLK + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/CONST_m.xml b/modules/xcos/help/en_US/palettes/Sources_pal/CONST_m.xml new file mode 100755 index 000000000..1b35a8ed8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/CONST_m.xml @@ -0,0 +1,205 @@ + + + + + CONST_m + Constant + + + Block Screenshot + + + + + + + + + + Contents + + + + Constant + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a constant value generator. + + + + + Dialog box + + + + + + + + + + + + + + Constant + + A matrix of any type. + The size of the matrix gives the size of the regular output port. + The constant(i,j) value is the component(i,j) value of the output port. + From this value the block inherits its data type. + Properties : Type 'mat' of size [-1,-2]. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + cstblk4 + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/CONST_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/cstblk4.c (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/CURV_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/CURV_f.xml new file mode 100755 index 000000000..c16014be5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/CURV_f.xml @@ -0,0 +1,193 @@ + + + + + CURV_f + Curve + + + Block Screenshot + + + + + + + + + + Contents + + + + Curve + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block defines a tabulated function of time. Between mesh points + block performs a linear interpolation. Outside tabulation block + outputs last tabulated value. User may define the tabulation of the + function using a curve editor. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + intplt + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/CURV_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/intplt.f (Type 0) + + + + + See also + + + + Sigbuilder - Signal creator/generator + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/Counter.xml b/modules/xcos/help/en_US/palettes/Sources_pal/Counter.xml new file mode 100755 index 000000000..a990823a5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/Counter.xml @@ -0,0 +1,283 @@ + + + + + Counter + Counter + + + Block Screenshot + + + + + + + + + + Contents + + + + Counter + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block counts with an increment/decrement value equal to one from Minimum to Maximum + or from Maximum to Minimum depending + on the choice of the Rule parameter. + + + + Data types + + + + Output: scalar double. + + + + + + Dialog box + + + + + + + + + + + + Minimum + + The lowest number of the counter. + Properties : Type 'vec' of size 1. + + + + Maximum + + The highest number of the counter. + Properties : Type 'vec' of size 1. + + + + Rule (1:Increment, 2:Decrement) + + The rule of counting : + + + + 1: Counts from the lowest number to the highest number. The count is increasing. + + + + + 2: Counts from the highest number to the lowest number. The count is decreasing. + + + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + counter + + + + + + Example + + This diagram shows the Counter block output versus time. + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/Counter.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/counter.c (Type 4) + + + + + See also + + + Modulo_Count + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/FROMWSB.xml b/modules/xcos/help/en_US/palettes/Sources_pal/FROMWSB.xml new file mode 100755 index 000000000..951afdc5f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/FROMWSB.xml @@ -0,0 +1,348 @@ + + + + + FROMWSB + Data from Scilab workspace to Xcos + + + Block Screenshot + + + + + + + + + + Contents + + + + Data from Scilab workspace to + Xcos + + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Compiled Super Block + content + + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + That block is used to get data defined in the Scilab workspace and + use them in Xcos. Data should have "time" and "values" fields. + + + + + Dialog box + + + + + + + + + + + + Variable name: This variable is + defined in Scilab and should be a structure with two fields, i.e., a + "time" field of size (Nx1) and a "values" filed of size (NxM). "time" + is a column vector of size Nx1 and "values" is a matrix of size "N*M". + "time" filed can only be of Real type, whereas the "values" field can + be , , , , , , , and . + + + + + Interpolation method: Variables + read by Xcos are data values read at discrete instants given by the + time field. This option causes the block to interpolate at time steps + for which no corresponding workspace data exists. There are four + interpolation methods available. + + + + + 0: "Zero order method". + This method generates a piecewise constant signal. i.e., for , . This method is available for all data types. + + + + + 1: "Linear method". This + method generates a piecewise linear signal, i.e., for , . For data types other than double and complex, the linear interpolation can be used, but the final output will be computed by casting interpolation result into the original data type. + + + + + 2:"NATURAL method". This + cubic spline is computed by using the following conditions + (considering n points x_1, ..., x_n): + + + $$ + S^{(2)} (x_1) = 0 \\ + \vdots \\ + S^{(2)} (x_n) = 0 \\ + $$ + + This method is only available for Real and complex data types. + + + + + 3:"NOT_A_KNOT method". The + cubic spline is computed by using the following conditions + (considering n points x_1, ..., x_n) : + + + $$ + S^{(3)} (x_2^-) = S^{(3)} (x_2^+) \\ + \vdots \\ + S^{(3)} (x_{n-1}^-) = S^{(3)} (x_{n-1}^+) \\ + $$ + + This method is only available for Real and Complex data types. + + + + + + + Enable zero crossing(0:No, + 1:Yes)?: + + Enables zero crossing detection. When and + interpolation methods are chosen, the output signal will be + discontinuous at data time instants. These possible discontinuities + may cause problem for the numerical solver. In order to perform a + reliable numerical integration, the zero crossing option is used. If + output of the block affects data used by the numerical solver, at + discontinuous points, a discrete event is generated and the numerical + solver is cold restarted. The discrete event is also generated at + the t_1 and t_n for other interpolating methods. + + + + + Output at end(0:Zero, 1:Hold, + 2:Repeat): + + This option is for selecting method for + generating output after the last time point for which data is + available from the workspace. + + + + + 0("Zero"): The output is + set to zero. + + + + + 1("Hold"): The output is + hold. + + + + + 2("Repeat"): The output is + repeated from workspace. + + + + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: no + + + + + object discrete-time state: + no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/FROMWSB.sci + + + + + Example + + + + + + + + + + + + + See also + + + + TOWS_c - Data to Scilab + worspace + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/GENSIN_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/GENSIN_f.xml new file mode 100755 index 000000000..d2f9de7ff --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/GENSIN_f.xml @@ -0,0 +1,312 @@ + + + + + GENSIN_f + Sine wave generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Sine wave generator + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a sine wave generator and its output is defined by the equation: + + + + + + You can adjust: + + + + + The magnitude + + M + + with the Magnitude parameter. + + + + + + The frequency + + F + + in radians/second with the Frequency parameter. + + + + + + The initial phase + + P + + in radians with the Phase parameter. + + + + + + Data types + + + + Output: Scalar double. + + + + + + Dialog box + + + + + + + + + + + + Magnitude + + A scalar. The magnitude M. + Properties : Type 'vec' of size 1. + + + + Frequency + + A scalar. The frequency in radians/secondes. + Properties : Type 'vec' of size 1. + + + + Phase + + A scalar. The phase P in radians. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + gensin + + + + + + Example + + This diagram shows the output of the block GENSIN_f for an amplitude value of 1.2 and an initial + phase offset of 90°. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/GENSIN_f.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/gensin.f (Type 0) + + + + + See also + + + GENSQR_f + + + SAWTOOTH_f + + + Sigbuilder + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/GENSQR_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/GENSQR_f.xml new file mode 100755 index 000000000..6c8e40321 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/GENSQR_f.xml @@ -0,0 +1,249 @@ + + + + + GENSQR_f + Square wave generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Square wave generator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a square wave generator: output takes values -M and +M. Every time an event is received on the input event port, the output switches from -M to M, or M to -M. + + + + + + Typically the event input port is used to specify the signal period. + + + + Dialog box + + + + + + + + + + + + + + Amplitude + + + a scalar M. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + gensqr + + + + + + Example + This is a typical use of this block in context. + This example should also alert the user about a specific behavior when linked to the same event its sink. + + + + + + + + + + + + + First the sink block is a scope with a sample rate set to 1 second. This parameter will affect the printed results of all the diagram branches. + + + The first source block (green) illustrate the typical use of this block. The period of each output level is set with a clock. The signal edge is fast and should be accurate for most of the application with a edge speed ratio of 1/10. + + + The second source block (blue) illustrate a much more problematic use case. The signal edge is not as fast as the previous one and can lead problematic use case. Users can use these parameters to illustrate some limitations of a design. + + + The third source block (yellow) illustrate a mis-use and a common first user error. The block activation times are the same as the scope. The scope compute only one positve or negative M point at a t_{n} and draw a line from t_{n-1} (positive) to t_{n} (negative). + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/GENSQR_f.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/gensqr.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/Modulo_Count.xml b/modules/xcos/help/en_US/palettes/Sources_pal/Modulo_Count.xml new file mode 100755 index 000000000..d8c5c703d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/Modulo_Count.xml @@ -0,0 +1,267 @@ + + + + + Modulo_Count + Modulo counter (0 to N counter) + + + Block Screenshot + + + + + + + + + + Contents + + + + Modulo counter (0 to N counter) + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + It is a discrete block. The block outputs a periodic scalar piecewise constant signal. Signal begin at Initial State value. The output is incremented when block received an event on its activation input until output reaches the Upper Limit parameter value. At this time the output is reset to 0. For a periodic event input, the output is a quantized sawtooth signal. + + + + Data type + + + + Output: scalar double. + + + + + + Dialog box + + + + + + + + + + + + Initial State + + Scalar. Initial discrete state. + Properties : Type 'vec' of size 1 + + + + Upper Limit (positive number) + + Scalar. Number of required step. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + modulo_count + + + + + + Exemple + + This diagram shows the Modulo_count usage as a quantized sawtooth generator application. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/Modulo_Count.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/modulo_count.c (Type 4) + + + + + See also + + + GENSQR_f + + + SAWTOOTH_f + + + Sigbuilder + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/PULSE_SC.xml b/modules/xcos/help/en_US/palettes/Sources_pal/PULSE_SC.xml new file mode 100755 index 000000000..14faf0449 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/PULSE_SC.xml @@ -0,0 +1,251 @@ + + + + + PULSE_SC + Pulse Generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Pulse Generator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a Pulse Generator. It generates a pulse at a rate of + 1/P where P + + is the period of the signal. The Phase + delay + + gives the value (in time) of the first event. The + Phase delay known also as Offset must be less than the Frequency*(1-(Pulse_Width/100)). + The second parameter of the block gives the Pulse + width + + and the fourth parameter gives the Pulse amplitude. + + + + Dialog box + + + + + + + + + + + + Phase delay (secs) + + + The offset of the block. It must be less than Frequency*(1-(Pulse_width/100)). + + Type 'pol' of size -1. + + + + Pulse Width (% of period) + + + The pulse width. It can take values from 1 to 100. + + Type 'pol' of size -1. + + + + Period (secs) + + + The Period of the signal. + + Properties : Type 'pol' of size -1. + + + + Amplitude + + + The amplitude of the pulse. It can support all scicos types. + + Properties : Type 'mat' of size [-1,-1]. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/PULSE_SC.sci + + + + + + See also + + + STEP_FUNCTION + + + RAMP + + + CURV_f + + + Sigbuilder + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/RAMP.xml b/modules/xcos/help/en_US/palettes/Sources_pal/RAMP.xml new file mode 100755 index 000000000..ca18db5f5 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/RAMP.xml @@ -0,0 +1,298 @@ + + + + + RAMP + Ramp + + + Block Screenshot + + + + + + + + + + Contents + + + + Ramp + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + The Ramp block generates a signal that starts at a specified Start Time and Initial Value and increases by a specified rate (Slope parameter). + The output signal is defined by the following equation: + + + + t_{0}\end{cases} + ]]> + + + where + + t0 + + + is the Start Time, + + s0 + + + the Initial Value and + + k + + the Slope. + + + + Data types + + + + Output: scalar double. + + + + + + Dialog box + + + + + + + + + + + + Slope + + Scalar. The rate of change of the generated signal. + Properties : Type 'vec' of size 1. + + + + Start Time + + Scalar. The time at which the signal begins to increase. + Properties : Type 'vec' of size 1. + + + + Initial Value + + Scalar. The initial value of the signal. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + ramp + + + + + + Example + + This diagram shows the use of RAMP block to obtain the response to a ramp signal of a first order's system defined by a transfer function. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/RAMP.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/ramp.c (Type 4) + + + + + See also + + + STEP_FUNCTION + + + CURV_f + + + Sigbuilder + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/RAND_m.xml b/modules/xcos/help/en_US/palettes/Sources_pal/RAND_m.xml new file mode 100755 index 000000000..19968a963 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/RAND_m.xml @@ -0,0 +1,243 @@ + + + + + RAND_m + Random generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Random generator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a random wave generator: each output component takes + piecewise constant random values. Every time an event is received on + the input event port, the outputs take new independent random + values. + + + Output port size is given by the size of A and B matrices. + + + + + Dialog box + + + + + + + + + + + + + + Datatype(1=real double 2=complex) + + It indicates the type of the output. It support only the two types double (1) and complex (2). If we input another entry in this label Scicos will print the message "Datatype is not supported". + Properties : Type 'vec' of size 1. + + + + flag + + 0 or 1. + 0 for uniform distribution on [A,A+B]. + 1 for normal distribution. + Properties : Type 'vec' of size 1. + + + + A + + matrix + Properties : Type 'mat' of size [-1,-2]. + + + + B + + matrix + Properties : Type 'mat' of size [-1,-2]. + + + + seed + + matrix + Seed value for a sequence of random number. + First number is for the real part and the second for the imaginary part. + Properties : Type 'mat' of size [1,2]. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + rndblk_m + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/RAND_m.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/rndblk_m.c + + + SCI/modules/scicos_blocks/src/c/rndblkz_m.c + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/READAU_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/READAU_f.xml new file mode 100755 index 000000000..5bc4d79e2 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/READAU_f.xml @@ -0,0 +1,232 @@ + + + + + READAU_f + Read AU sound file + + + Block Screenshot + + + + + + + + + + Contents + + + + Read AU sound file + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + Loads a sound file specified by the string *.au file, returning the + sampled data in y. The .au extension is appended if no extension is + given. Amplitude values are in the range [-1,+1]. auread supports + multichannel data in the following formats: + + + + + 8-bit mu-law + + + 8-, 16-, and 32-bit linear + + + Floating-point + + + + + Dialog box + + + + + + + + + + + + + + Input file name + + a character string defining the path of the file. + Properties : Type 'str' of size 1 + + + + Buffer size + + To improve efficiency it is possible to buffer the input data. Read on the file is only done after each Buffer size call to the block. + Properties : Type 'vec' of size 1 + + + + Swap mode 0/1 + + + WithSwap mode=1 the file is supposed to be coded in "little endian IEEE format" and data are swaped if necessary to match the IEEE format of the processor. IfSwap mode=0 then automatic bytes swap is disabled. + + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + readau + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/READAU_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/readau.c (Type 2) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/READC_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/READC_f.xml new file mode 100755 index 000000000..8c5493b25 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/READC_f.xml @@ -0,0 +1,258 @@ + + + + + READC_f + Read binary data + + + Block Screenshot + + + + + + + + + + Contents + + + + Read binary data + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block allows user to read data in a C file. Output record selection and Time record Selection allows the user to select data among file records. Each call to the block advance one record in the file. + + + + Dialog box + + + + + + + + + + + + + + Time record selection + + an empty matrix or a positive integer. + If an integer i is given the i th element of the read record is assumed to be the date of the output event. + If empty no output event exists. + Properties : Type 'vec' of size -1 + + + + Outputs record selection + + a vector of positive integer. + + $\left[ k_1 \ldots k_n \right]$ : The $k_i$th element of the read record gives the value of $i^{th}$ output. + + Properties : Type 'vec' of size -1 + + + + Input file name + + a character string defining the path of the file. + Properties : Type 'str' of size 1 + + + + Input Format + + a character string defining the format to use. + Properties : Type 'str' of size 1 + + + + Record size + + The file is supposed to be formed by a sequence of data with same format. + These data are organized in a sequence of record each of them containing Record size data. + Properties : Type 'vec' of size 1 + + + + Buffer size + + To improve efficiency it is possible to buffer the input data. Read on the file is only done after each Buffer size call to the block. + Properties : Type 'vec' of size 1 + + + + Initial record index + + a scalar. This fixes the first record of the file to use. + Properties : Type 'vec' of size 1 + + + + Swap mode 0/1 + + + WithSwap mode=1 the file is supposed to be coded in "little endian IEEE format" and data are swaped if necessary to match the IEEE format of the processor. IfSwap mode=0 then automatic bytes swap is disabled. + + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + readc + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/READC_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/c/readc.c (Type 2) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/RFILE_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/RFILE_f.xml new file mode 100755 index 000000000..d7589f43f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/RFILE_f.xml @@ -0,0 +1,381 @@ + + + + + RFILE_f + Read from input file + + + Block Screenshot + + + + + + + + + + Contents + + + + Read from input file + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block allows user to read data in a file with the name defined with the Input File Name parameter, in text formatted mode or in binary mode. + + + The file is a sequence of records. Each record has the length Record Size + 1 + + and the structure shown below: + + + + + + + + + + + The Time Record Selection parameter allows to user the selection of one field in the + record which represents time events. When this parameter is set, an activation output is added to the block to return + these events to the user. + With a feedback of the activation output to the event input of the block, the records are read in sequence until file end as in the example below. + + + The Outputs Record Selection is used to select the record's fields which will be + included in the regular output. + + + The Output Format parameter gives the record format. + + + + + For a binary file, this parameter is an empty string. + + + + + For a text file, this parameter is a string of format (Fortran syntax) enclosed by parentheses. + + + + Each event on the activation input of the block advances one record in the file. + + + Data types + + + + Output: a scalar or a column vector of data of type double. The vector length is equal to the length of the + Outputs Record Selection vector. + + + + + + Dialog box + + + + + + + + + + + + Time record selection + + An empty matrix or a positive integer. + + If an integer + + i + + is given the + + ith + + + element of the read record is assumed to be the date of the output event. + + If it is an empty matrice, no output event exists. + Properties : Type 'vec' of size -1. + + + + Outputs record selection + + + A vector of positive integer + + [ki,...,kn] + + + the element + + kith + + + of the read record gives the value of the + + ith + + + output. + + Properties : Type 'vec' of size -1. + + + + Input file name + + + A character string defining the path of the file. The block support file name expansion and you can use environment variables + like PWD in the path, by example "PWD/my_data/". Without path specifier, the file is read + in the directory defined by the PWD variable. + + The file must exist, otherwise you will be prompted by an error message. + Properties : Type 'str' of size 1. + + + + Input Format + + + A character string defining the Fortran format to use or nothing for an unformatted (binary) write. If given, the format must began by a left parenthesis and end by a right parenthesis. Example: + + (10e3) + + + Properties : Type 'str' of size 1. + + + + Buffer size + + + To improve efficiency it is possible to buffer the input data. The reading of samples on the peripheral fills + the buffer so that there are always available data in memory for the block. + + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + readf + + + + + + Example + + This example reads the file: "SCI/modules/xcos/examples/sources_pal/en_US/rfile_f.txt" which contains a set of data generated by the example of the + WFILE_f block help page. + + + It use its activation output as event input of CSCOPE. In the file, the first field of the record is the time, the two others are regular data. The feedback of the + activation output on event input ensures the file sequential read. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/RFILE_f.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/readf.f (Type 0) + + + + + See also + + + WFILE_f + + + READC_f + + + WRITEC_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/SAWTOOTH_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/SAWTOOTH_f.xml new file mode 100755 index 000000000..7cdb875ef --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/SAWTOOTH_f.xml @@ -0,0 +1,251 @@ + + + + + SAWTOOTH_f + Sawtooth generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Sawtooth generator + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + See also + + + + + + + + Palette + + + + Output:scalar double. + + + + + + Description + + This block is a sawtooth wave generator. The output of the block is described by the equation: + + + + + + At first event on its activation input, the output increases linearly from 0 with a unitary rate. When the + following event occurs, the output goes to 0 and begin again to increase until the next event and so on. + + + The resulting amplitude of the output is equal to the period of event signal. If you want more control on the amplitude or a negative rate, use the Sigbuilder or Curve_f blocks. + + + + Data types + + + + Output: scalar double. + + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: yes + + + + + object discrete-time state: no + + + + + name of computational function: + sawtth + + + + + + Example + + This diagram shows the output of the SAWTOOTH_f block with an event period of 2 seconds and an offset + of 1 second on event generation. + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/SAWTOOTH_f.sci + + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/sawtth.f (Type 0) + + + + + See also + + + GENSQR_f + + + GENSIN_f + + + Sigbuilder + + + Curve_f + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/STEP_FUNCTION.xml b/modules/xcos/help/en_US/palettes/Sources_pal/STEP_FUNCTION.xml new file mode 100755 index 000000000..72aad108c --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/STEP_FUNCTION.xml @@ -0,0 +1,417 @@ + + + + + STEP_FUNCTION + Step Function + + + Block Screenshot + + + + + + + + + + Contents + + + + Step Function + + + + + + + Palette + + + + + Description + + + + + Data types + + + + + Dialog box + + + + + Default properties + + + + + Examples + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + In its simpler use this block output a step signal between two definable levels Initial Value and Final Value + starting at a specified time Step Time. + + + The step function is defined by the following equation: + + + t_{0}\end{cases} + ]]> + + + where + + t0 + + + is the Start Time, + + s0 + + + the Initial Value and + + sf + + + the Final Value. + + + You can also specify vector or matrice values, for the parameters Initial Value and Final Value. The parameters are expanded to column vectors. and in this case, you obtain multiples output that start at the same Step Time. + + + The table below shows different combinations + + + + + + Initial value size + + + Final value size + + + Output size + + + Condition + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Data types + + + + Output: scalar or column vector of double data type. The size is determined by the parameters + Initial Value and Final Value + + + + + + Dialog box + + + + + + + + + + + + Step Time + + + The time, in seconds, when the output jumps from the Initial Value parameter to the Final value parameter. + + Properties : Type 'vec' of size 1. + + + + Initial Value + + + The block output i is equal to the + + ith + + Initial Value until the simulation time reaches the + Step Time parameter. + + Properties : Type 'vec' of size -1. + + + + Final Value + + + The block output i jump to + + ith + + Final Value when the simulation time reaches the + Step Time parameter. + + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Examples + + Example 1 + + This diagram shows the use of the STEP_FUNCTION block to obtain the response to a step signal of + a first order's system defined by a transfer function. + + + + + + + + + + + + + + Example 2 + + This diagram shows the use of STEP_FUNCTION to obtain four step signals. + + + + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/STEP.sci + + + + + + See also + + + RAMP + + + CURV_f + + + Sigbuilder + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/SampleCLK.xml b/modules/xcos/help/en_US/palettes/Sources_pal/SampleCLK.xml new file mode 100755 index 000000000..3f57ac2cb --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/SampleCLK.xml @@ -0,0 +1,240 @@ + + + + + SampleCLK + Sample Time Clock + + + Block Screenshot + + + + + + + + + + Contents + + + + Sample Time Clock + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + The difference between the SampleCLK and the CLOCK_c is that all the SampleCLK blocks in our diagram are synchronous. The synchronism is done due to two different methods of computation in the compilation phase. + + + The first method consists of computing a clock that is faster than all the SampleCLK connected to a counter which activate the event select block. + + + The clock is calculated due to the following rule. + + + If all the blocks have the same offset then the frequency of the clock is the gcd of the sample time, and the offset of the clock is equal to the offset. + + + If the offsets are different, then the frequency of the clock is the gcd of the sample time and the offset, and the offset of the clock is equal to 0. + + + The Counter counts from one to the least common multiple of the sample time (lcm). + + + The number of outputs of the ESELECT_f block is equal to the lcm. + + + The second method uses the Multifrequency block it generates events only for specific time. Events in this method are not periodically generated as in the first one. + + + + + + Dialog box + + + + + + + + + + + + + + Sample time + + The Sample time value. + Properties : Type 'vec' of size 1. + + + + Offset + + The offset value. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + sampleclk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/SampleCLK.sci + + + + + See also + + + + CLOCK_c - Activation clock + + + + + Counter - Counter + + + + + ESELECT_f - Synchronous block Event-Select + + + + + M_freq - Multiple Frequencies + + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/Sigbuilder.xml b/modules/xcos/help/en_US/palettes/Sources_pal/Sigbuilder.xml new file mode 100755 index 000000000..35f6af86e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/Sigbuilder.xml @@ -0,0 +1,197 @@ + + + + + Sigbuilder + Signal creator/generator + + + Block Screenshot + + + + + + + + + + Contents + + + + Signal creator/generator + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Compiled Super Block content + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + The Signal Builder block is a superblock containing a + + block whose output event + port is connected to its input event port. This event feedback gives + the possibility to generate events at discontinuous point of the + signal. The generated events automatically restart the numerical + solver and avoids numerical problems. The generated event is also made + available to the user for possible use. Remind that if higher + interpolation methods are used, the events are generated only at the + beginning and at the end of the signal. + + + + + Dialog box + + + + + + + + + The parameters of Sigbuilder block is the same as + that of + block. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + csuper + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/Sigbuilder.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/TIME_f.xml b/modules/xcos/help/en_US/palettes/Sources_pal/TIME_f.xml new file mode 100755 index 000000000..ce4fdd53a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/TIME_f.xml @@ -0,0 +1,178 @@ + + + + + TIME_f + Time + + + Block Screenshot + + + + + + + + + + Contents + + + + Time + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This block is a time generator. + + + The unique regular output is the current time. + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + timblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Sources/TIME_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/timblk.f (Type 0) + + + + diff --git a/modules/xcos/help/en_US/palettes/Sources_pal/TKSCALE.xml b/modules/xcos/help/en_US/palettes/Sources_pal/TKSCALE.xml new file mode 100755 index 000000000..d39127f55 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Sources_pal/TKSCALE.xml @@ -0,0 +1,223 @@ + + + + + TKSCALE + Adjust value with a graphical widget. + + + Block Screenshot + + + + + + + + + + Contents + + + + Adjust value with a graphical widget. + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + + + + Palette + + + + Sources palette + + + + + + Description + + This source block generates a piecewise constant signal the value of which can be set interactively using a widget in the course of the simulation. The output value is the value set by the slider (an integer between Min value and Max value) divided by the Normalization factor. Increasing proportionaly all three block parameters does not change the output range, but it does increase precision. + + + + + + Dialog box + + + + + + + + + + + + + + Min value + + An integer specifying the min value in the range of the scale. + Properties : Type 'vec' of size 1. + + + + Max value + + An integer specifying the max value in the range of the scale. + Properties : Type 'vec' of size 1. + + + + Normalization + + The output of the block is the integer value specified by the slider (an integer between Min value and the Max value) divided by this Normalization factor. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + tkscaleblk + + + + + + Example + + + + + + + + + + + + Interfacing function + + + + SCI/modules/scicos_blocks/macros/Sources/TKSCALE.sci + + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/AA_ThermoHydraulics_pal.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/AA_ThermoHydraulics_pal.xml new file mode 100755 index 000000000..8ec0c3a43 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/AA_ThermoHydraulics_pal.xml @@ -0,0 +1,125 @@ + + + + + ThermoHydraulics_pal + Thermal-Hydraulics toolbox + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + Thermal-Hydraulics toolbox contains some basic thermal-hydraulic + components such as pressure source, pipe, control valves, etc. + + + + Blocks + + + + 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 + + + + + + Flowmeter - Thermal-hydraulic + flow sensor + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Bache.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Bache.xml new file mode 100755 index 000000000..04767dfc8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Bache.xml @@ -0,0 +1,416 @@ + + + + + Bache + Thermal-hydraulic tank (reservoir) + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic tank (reservoir) + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics + palette + + + + + + + Description + + The Bache block represents a + thermal-hydraulic tank or reservoir. This block has two inlets and two + outlets whose altitudes can be changed by the user. Conventionally, for + input ports (black ports) flow direction is positive when fluid flows into + the tank. On the other hand, for output ports (white ports) flow direction + is positive when fluid flows out of the tank. The user can set the surface + area of the tank, the initial temperature and initial level of the fluid + in the tank. If an input or output port is left unused, it should be + blocked by a stopper block. + + + + Dialog box + + + + + + + + + + + + Pression dans le ciel de la bache : Patm + (Pa) + + + Atmospheric pressure inside the tank. + Properties : Type 'vec' of size -1. + + + + Section de la bache : A (m2) + + Surface area of the tank. + Properties : Type 'vec' of size -1. + + + + Altitude du piquage d entrée 1: ze1 + (m) + + + Altitude of the first input port + Properties : Type 'vec' of size -1. + + + + Altitude du piquage d entrée 2: ze2 + (m) + + + Altitude of the second input port + Properties : Type 'vec' of size -1. + + + + Altitude du piquage de sortie 1: zs1 + (m) + + + Altitude of the first output port. + Properties : Type 'vec' of size -1. + + + + Altitude du piquage de sortie 2: zs2 + (m) + + + Altitude of the second output port. + Properties : Type 'vec' of size -1. + + + + Altitude initiale du fluide : z0 + (m) + + + Initial fluid level in the tank. + Properties : Type 'vec' of size -1. + + + + Température initiale du fluide : T0 + (K) + + + Temperature of fluid in the tank + Properties : Type 'vec' of size -1. + + + + Si 0, masse volumique imposée du fluide : + p_rho (kg/m3) + + + Density of fluid + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'Ce1' + + + Implicit variable. + + + + + Modelica variable name : + 'Ce2' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'Cs1' + + + Implicit variable. + + + + + Modelica variable name : + 'Cs2' + + + Implicit variable. + + + + + Modelica variable name : + 'yNiveau' + + + Explicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'Patm' + + + Default value : + 101300 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'A' + + + Default value : 1 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'ze1' + + + Default value : 40 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'ze2' + + + Default value : 0 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'zs1' + + + Default value : 40 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'zs2' + + + Default value : 0 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'z0' + + + Default value : 30 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'T0' + + + Default value : 290 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'p_rho' + + + Default value : 0 + + + Is a state variable : + no. + + + + + + + File name of the model : + Bache + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/Bache.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/Bache.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/CHAPTER new file mode 100755 index 000000000..64a6f9b31 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/CHAPTER @@ -0,0 +1 @@ +title = Thermohydraulics palette diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Flowmeter.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Flowmeter.xml new file mode 100755 index 000000000..e98b78ee8 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/Flowmeter.xml @@ -0,0 +1,136 @@ + + + + Flowmeter + Thermal-hydraulic Flow sensor + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic Flow sensor + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics palette + + + + + + Description + + This component is used to measure the volumetric flow rate. + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : 'C1' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'C2' + + + Implicit variable. + + + + + Modelica variable name : 'Mesure' + + + Explicit variable. + + + + + + + File name of the model : Flowmeter + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/Flowmeter.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/Hydraulics.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PerteDP.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PerteDP.xml new file mode 100755 index 000000000..32d2dd463 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PerteDP.xml @@ -0,0 +1,322 @@ + + + + + PerteDP + Thermal-hydraulic pipe + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic pipe + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics + palette + + + + + + + Description + + A PertDP block represents a + hydraulic pipe with linear resistance losses. This component represents a + hydraulic resistance and pressure loss is directly proportional to the + flow rate. Conventionally, the flow direction is the positive when fluid + flows from the black port to the white port. The pressure loss is + obtained with : + + + $$ + P_{loss} = P_{black} - P_{white} + $$ + + The key parameters of this block are the pipes' length, the pipe's + diameter, inlet and outlet altitudes, and some other thermal-hydraulic + coefficients. + + + + Dialog box + + + + + + + + + + + + Longueur du tube : L (m) + + Length of pipe + Properties : Type 'vec' of size -1. + + + + Diamètre interne du tube : D (m) + + Pipe diameter + Properties : Type 'vec' of size -1. + + + + Coefficient de perte de charge-frottement(S.U) + : lambda + + + Coefficient of thermohydraluc resistance + Properties : Type 'vec' of size -1. + + + + Altitude entrée tuyauterie : z1 (m) + + Altitude of the first port (z1) + Properties : Type 'vec' of size -1. + + + + Altitude sortie tuyauterie : z2 (m) + + Altitude of the second port (z2) + Properties : Type 'vec' of size -1. + + + + Si 0, masse volumique imposée fu fluide : + p_rho (kg/m3) + + + Fluid density + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'C1' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'C2' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'L' + + + Default value : 10 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'D' + + + Default value : 0.2 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'lambda' + + + Default value : 0.03 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'z1' + + + Default value : 0 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'z2' + + + Default value : 0 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'p_rho' + + + Default value : 0 + + + Is a state variable : + no. + + + + + + + File name of the model : + PerteDP + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/PerteDP.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/PerteDP.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PuitsP.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PuitsP.xml new file mode 100755 index 000000000..3eab1c133 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/PuitsP.xml @@ -0,0 +1,258 @@ + + + + + PuitsP + Thermal-hydraulic drain (well) + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic drain (well) + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics + palette + + + + + + + Description + This thermal-hydraulic component represents a thermal-hydraulic + constant pressure drain (well). This block is specified with its pressure + and temperature. Conventionally, the flow direction is positive when fluid + flows into the block. + + + + Dialog box + + + + + + + + + + + + Pression de la source : P0 (Pa) + + Pressure of the thermohydraulic source. + Properties : Type 'vec' of size -1. + + + + Temperature de la source : T0 (K) + + Temperature of the thermohydraulic source. + Properties : Type 'vec' of size -1. + + + + Enthalpie spécifique de la source : H0 + (J/kg) + + + Specific Enthaly of the thermohydraulic source. + Properties : Type 'vec' of size -1. + + + + 1:température fixée - 2:enthalpie fixée : + option_temperature + + + Temperature option. 1: fixed temperature - 2: fixed + enthalpy + + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'C' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'P0' + + + Default value : + 100000 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'T0' + + + Default value : 290 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'H0' + + + Default value : + 100000 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'option_temperature' + + + Default value : 1 + + + Is a state variable : + no. + + + + + + + File name of the model : + Puits + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/PuitsP.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/Puits.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/SourceP.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/SourceP.xml new file mode 100755 index 000000000..48faeb09e --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/SourceP.xml @@ -0,0 +1,260 @@ + + + + + SourceP + Thermal-hydraulic constant pressure source + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic constant pressure + source + + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics + palette + + + + + + + Description + This thermal-hydraulic component represents a thermal-hydraulic + constant pressure supply. This block is specified with its output pressure + and temperature. Conventionally, the flow direction is positive when the + fluid flows out of the block. + + + + Dialog box + + + + + + + + + + + + Pression de la source : P0 (Pa) + + Pressure of the thermohydraulic source + Properties : Type 'vec' of size -1. + + + + Temperature de la source : T0 (K) + + Temperature of the thermohydraulic source + Properties : Type 'vec' of size -1. + + + + Enthalpie spécifique de la source : H0 + (J/kg) + + + Specific enthalpie of the thermohydraulic source + Properties : Type 'vec' of size -1. + + + + 1:température fixée - 2:enthalpie fixée : + option_temperature + + + Temperature option. 1: fixed temperature - 2: fixed + enthalpy + + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Outputs : + + + + + Modelica variable name : + 'C' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'P0' + + + Default value : + 300000 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'T0' + + + Default value : 290 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'H0' + + + Default value : + 100000 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'option_temperature' + + + Default value : 1 + + + Is a state variable : + no. + + + + + + + File name of the model : + Source + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/SourceP.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/Source.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/VanneReglante.xml b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/VanneReglante.xml new file mode 100755 index 000000000..885914310 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Thermohydraulics_pal/VanneReglante.xml @@ -0,0 +1,246 @@ + + + + + VanneReglante + Thermal-hydraulic control valve + + + Block Screenshot + + + + + + + + + + Contents + + + + Thermal-hydraulic control valve + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default + properties + + + + + + Interfacing + function + + + + + + Modelica model + + + + + + + + Palette + + + + Thermal-Hydraulics + palette + + + + + + + Description + + The VanneReglante block represents + a variable orifice control valve. The flow rate through the valve is + proportional to the valve opening. + + + $$ + \Delta P \times h \times |h| = k \times Q \times |Q| + $$ + + + where $h$ is the valve opening, $\Delta P$ is the pressure difference, and $Q$ is the + flow rate. This model is only used for the laminar flow regimes. $k$ is a + constant depending on the valve geometry and mass density of fluid. + + + + Dialog box + + + + + + + + + + + + Cvmax + + Cvmax (maximum opening of the valve) + Properties : Type 'vec' of size -1. + + + + p_rho + + Fluid density + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + Inputs : + + + + + Modelica variable name : + 'C1' + + + Implicit variable. + + + + + Modelica variable name : + 'Ouv' + + + Explicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : + 'C2' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : + 'Cvmax' + + + Default value : + 8005.42 + + + Is a state variable : + no. + + + + + Modelica parameter name : + 'p_rho' + + + Default value : 0 + + + Is a state variable : + no. + + + + + + + File name of the model : + VanneReglante + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Hydraulics/VanneReglante.sci + + + + + Modelica model + + + SCI/modules/scicos_blocks/macros/Hydraulics/VanneReglante.mo + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/AA_Userdefinedfunctions_pal.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/AA_Userdefinedfunctions_pal.xml new file mode 100755 index 000000000..5d1701203 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/AA_Userdefinedfunctions_pal.xml @@ -0,0 +1,160 @@ + + + + + Userdefinedfunctions_pal + User defined functions palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + The user defined function contains blocks that allow you to model + the component behaviour. The output is expressed as a function of the + input. + + + + Blocks + + + + c_block — C file function + + + + + CBLOCK — New C + + + + + EXPRESSION — Mathematical + expression + + + + + + fortran_block — Fortran + + + + + generic_block3 — Generic block + + + + + MBLOCK — Modelica generic block + + + + + PDE — 1D PDE block + + + + + scifunc_block_m — Scilab function + block + + + + + + SUPER_f — Super block + + + + + TEXT_f — Text + + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CBLOCK.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CBLOCK.xml new file mode 100755 index 000000000..3396ca43f --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CBLOCK.xml @@ -0,0 +1,289 @@ + + + + + CBLOCK + New C + + + Block Screenshot + + + + + + + + + + Contents + + + + New C + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + This block creates skeleton of the C-computing function. It also + creates library file and object files. + + + + Dialog box + + + + + + + + + + + + + + simulation function + + Name of the function to be generated. + Properties : Type 'str' of size 1 + + + + is block implicit? + + If yes (y) is selected, it calls implicit solver (dasrt) else (n) it calls explicit solver, lsodar. + Properties : Type 'str' of size 1 + + + + input ports sizes + + Number of regular input ports + Properties : Type 'vec' of size -1 + + + + output ports sizes + + Number of regular output ports + Properties : Type 'vec' of size -1 + + + + input event ports sizes + + Number of event input ports + Properties : Type 'vec' of size -1 + + + + output events ports sizes + + Number of event output ports + Properties : Type 'vec' of size -1 + + + + initial continuous state + + Initial Conditions + Properties : Type 'vec' of size -1 + + + + number of zero crossing surfaces + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + initial discrete state + + Initial conditions of the discrete states. + Properties : Type 'vec' of size -1 + + + + Real parameters vector + + Real Parameter vector that the function accepts. + Properties : Type 'vec' of size -1 + + + + Integer parameters vector + + Integer Parameter vector that the function accepts. + Properties : Type 'vec' of size -1 + + + + initial firing vector + + + A vector. Size of this vector corresponds to the number of event outputs. The value of the $i^{th}$ entry specifies the time of the preprogrammed event firing on the $i^{th}$ output event port. If less than zero, no event is preprogrammed. + + Properties : Type 'vec' of size 'sum(%6)' + + + + direct feedthrough + + The input to the block at the current time determine the output of the block at the current time. This forces the input to feed through to the output, as if the system were operating at steady-state. + Properties : Type 'str' of size 1 + + + + time dependence + + Create a signal that specifies the time dependence. + Properties : Type 'str' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/CBLOCK.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CHAPTER new file mode 100755 index 000000000..6c27243ec --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/CHAPTER @@ -0,0 +1 @@ +title = User defined functions palette diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/DSUPER.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/DSUPER.xml new file mode 100755 index 000000000..bca0a2278 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/DSUPER.xml @@ -0,0 +1,151 @@ + + + + DSUPER + Masked super block + + + Block Screenshot + + + + + + + + + + Contents + + + + Masked super block + + + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + + + + Description + + This block opens the settings of the masked Super block. + + + Any super block implementation can hide it's implementation be using the "Mask" feature and then some parameters (extracted from the context) can be added to configure it. If you want to edit such a block, you first need to "Unmask" it. + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + super + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/SUPER_f.sci + + + SCI/modules/scicos_blocks/macros/Misc/DSUPER.sci + + + + + See also + + + + Super block + + + The implementation of this black box is performed through a Super block. + + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/EXPRESSION.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/EXPRESSION.xml new file mode 100755 index 000000000..620c10cb1 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/EXPRESSION.xml @@ -0,0 +1,240 @@ + + + + + EXPRESSION + Mathematical expression + + + Block Screenshot + + + + + + + + + + Contents + + + + Mathematical expression + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + The Expression block applies the specified Scilab expressions to its input. + + + + Dialog box + + + + + + + + + + + + + + number of inputs + + Block input can be a scalar or vector. + Properties : Type 'vec' of size 1 + + + + scilab expression + + The Scilab expression applied to the input. + Properties : Type 'vec' of size 1 + + + + use zero-crossing + + Select to enable zero crossing detection. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + evaluate_expr + + + + + + Example + + The following example calculate an arbitrary expression with multiple different configuration or blocks. + + + y=u(1) - u(2) - u(3) + + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/EXPRESSION.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/MBLOCK.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/MBLOCK.xml new file mode 100755 index 000000000..19036d006 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/MBLOCK.xml @@ -0,0 +1,291 @@ + + + + + MBLOCK + Modelica generic block + + + Block Screenshot + + + + + + + + + + Contents + + + + Modelica generic block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + User Defined function palette + + + + + + Description + + The block "MBlock" provides an easy way to build a xcos block whose behavior is specified by a Modelica program. Using this block, the user will be able to write and compile Modelica programs in xcos without creating any interfacing function. The associated Modelica program of this block can be either given in a file or written in the window opened by the block. In order to link this block to other xcos blocks that may be other Modelica blocks, the types of block ports' as well as their associated variables should be specified. + + + + + + Dialog box + + + + + + + + + + + + + + Input variables + + In this filed, the ports connected to the left hand side of the block are defined. If the port is an explicit port, it will be an input port. In this case, the variable should be declared in the Modelica program as Real. If the port is an implicit port, the variable desinating this port should be a "connector". Remind that for implicit port, the notion of input and output does not exist and specifying an implicit variable in this filed is just placing the port at the left hend side of the block. + + + + Input variables types + + In this filed, the type of ports are specified, i.e., 'I' for implicit ports and 'E' for explicit ports. The size of the vector of "input variables" and the vector of "input_vector_type" should be equal. + + + + Output variables + + Similar to the input variables vector, the explicit output variables and implicit variables which are displayed at the right hand side of the block are specified in this filed. + + + + Output variables types + + The type of variables given in the Output variable vector are specified, i.e., 'I' for implicit ports and 'E' for explicit ports. + + + + Parameters in Modelica + + The values of parameters declared in the Modelica program can be overloaded. To overload a parameter value, the name of parameters are given in this field and their corresponding values are given in the "parameter values" fields that are displayed in the second dialog box. + + + + Parameters properties + + The type of the Modelica parameters. For that time being, one can parametrize three types of Modelica variable : + + + + + + 0: the parameter is set to be a Modelica parameter variable (scalar or vector). + + + + + + + 1: the parameter is set to be an initial condition of Modelica state variable + (scalar or vector). + + + + + + + 2: the parameter is set to be an initial condition of Modelica state variable + with the property fixed=true (scalar or vector). + + + + + + + + Function name + + The Modelica class name is specified in this filed. If the Modelica class name is specified without any path or extension, an interactive window is opened and the user can write or edit the Modelica program. This window is opened each time the user clicks on the block. If the Modelica class name is specified with path and '.mo' extension, the compiler looks for the file and if it is found, the file will be compiled, otherwise a window is opened and the user can write the Modelica program. This Modelica file will be saved with the given filename in the specified path. The next time, only input/output characteristics of the block can be changed, and the Modelica file should be edited with another text editor. + + + + Parameter values + + The value of Modelica parameters are given in the "Set parameters values" dialog box. + + + + These values that can be scalar or vector, can also be defined in the + xcos context. In order to access the xcos context, click on the + "Diagram" menu then click on the "Context" submenu. + For instance, here is an example of overloading of parameters in a Modelica program. + + + + Parameters vector = ['Speed';'Position';"Length"] + + + Parameters properties vector = [0;2;1] + + Speed value = [12.0] + + + Position value = [0.0 ; 0.1 ; POS] + + + Length value = [13.0 ; 12.1] + + + + + + Default properties + + + + always active: yes + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + generic + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/MBLOCK.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/SUPER_f.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/SUPER_f.xml new file mode 100755 index 000000000..ad8879240 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/SUPER_f.xml @@ -0,0 +1,211 @@ + + + + + SUPER_f + Super block + + + Block Screenshot + + + + + + + + + + Contents + + + + Super block + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + See also + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + This block opens up a new Xcos window for editing a new block + diagram. This diagram describes the internal functions of the super + block. + + + Super block inputs and outputs (regular or event) are + designated by special (input or output) blocks. + + + Regular input blocks + must be numbered from 1 to the number of regular input ports. Regular + input ports of the super block are numbered from the top of the block + shape to the bottom. Regular output ports must be numbered from 1 to + the number of regular output ports. Regular output ports of the super + block are numbered from the top of the block shape to the bottom. + Event input blocks must be numbered from 1 to the number of event + input ports. Event input ports of the super block are numbered from + the left of the block shape to the right. Event output ports must be + numbered from 1 to the number of event output ports. Event output + ports of the super block are numbered from the left of the block shape + to the right. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + super + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/SUPER_f.sci + + + SCI/modules/scicos_blocks/macros/Misc/DSUPER.sci + + + + + See also + + + + Masked super block + + + Any super block can be masked to provide a black box implementation with parameters. + + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/c_block.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/c_block.xml new file mode 100755 index 000000000..66bc133aa --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/c_block.xml @@ -0,0 +1,218 @@ + + + + + c_block + C language + + + Block Screenshot + + + + + + + + + + Contents + + + + C language + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + This block creates skeleton of the C computing function. Also it + creates library file and object files. + + + + + Dialog box + + + + + + + + + + + + + + input ports sizes + + Number of regular input ports. + Properties : Type 'vec' of size -1. + + + + output port sizes + + Number of regular output ports. + Properties : Type 'vec' of size -1. + + + + System parameters vector + + Number of parameters that this function accepts. + Properties : Type 'vec' of size -1. + + + + function name + + Name of the function to be generated. + Properties : Type 'str' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/c_block.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/fortran_block.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/fortran_block.xml new file mode 100755 index 000000000..f3b6e0d4d --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/fortran_block.xml @@ -0,0 +1,218 @@ + + + + + fortran_block + Fortran + + + Block Screenshot + + + + + + + + + + Contents + + + + Fortran + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + This block creates skeleton of the FORTRAN computing function. Also it + creates library file and object files. + + + + + Dialog box + + + + + + + + + + + + + + input ports sizes + + Number of regular input ports. + Properties : Type 'vec' of size -1. + + + + output port sizes + + Number of regular output ports. + Properties : Type 'vec' of size -1. + + + + System parameters vector + + Number of parameters that this function accepts. + Properties : Type 'vec' of size -1. + + + + function name + + Name of the function to be generated. + Properties : Type 'vec' of size -1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/fortran_block.sci + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/generic_block3.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/generic_block3.xml new file mode 100755 index 000000000..a29c11956 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/generic_block3.xml @@ -0,0 +1,343 @@ + + + + + generic_block3 + Generic block + + + Block Screenshot + + + + + + + + + + Contents + + + + Generic block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + The block provides a generic interfacing function but the + computational function needs to be defined separately, either as a + Scilab function or a Fortran or a C function. Besides the name of the + function, user should specify information such as the type, whether or + not the block contains a direct feed-through term. The function + realising computational functions of generic blocks of a Scicos + diagram must be saved along with the diagram and loaded or dynamically + linked before simulation. + + + + + Dialog box + + + + + + + + + + + + + + Simulation function + + Name of the function to be loaded. + Properties : Type 'str' of size 1 + + + + Function type + + Type of the computational function supported by Scicos. + Properties : Type 'vec' of size 1 + + + + Input ports sizes + + Number of regular input ports. + Properties : Type 'mat' of size [-1,2] + + + + Input ports type + + Set the datatype of the regular input ports. + Properties : Type 'vec' of size -1 + + + + Iutput port sizes + + Number of regular input ports. + Properties : Type 'mat' of size [-1,2] + + + + Output ports type + + Set the datatype of the regular output ports. + Properties : Type 'vec' of size -1 + + + + Input event ports sizes + + a vector of ones, size of event input ports. The size of the vector gives the number of event input ports. + Properties : Type 'vec' of size -1 + + + + Output events ports sizes + + a vector of ones, size of event output ports. The size of the vector gives the number of of event output ports. + Properties : Type 'vec' of size -1 + + + + Initial continuous state + + A column vector of Initial State Conditions. + Properties : Type 'vec' of size -1 + + + + Initial discrete state + + A column vector Initial discrete Conditions. + Properties : Type 'vec' of size -1 + + + + Initial object state + + A Scilab list that defined the initial object state (oz). + Properties : Type 'lis' of size -1 + + + + Real parameters vector + + column vector. Any parameters used in the block can be defined here as a column vector. + Properties : Type 'vec' of size -1 + + + + Integer parameters vector + + column vector. Any integer parameters used in the block can be defined here as a column vector. + Properties : Type 'vec' of size -1 + + + + Object parameters list + + A Scilab list that defined the list of the Object parameters (opar). + Properties : Type 'lis' of size -1 + + + + Number of modes + + Number of Right hand side functions in the system. + Properties : Type 'vec' of size 1 + + + + Number of zero_crossings + + No. of zero-crossings + Properties : Type 'vec' of size 1 + + + + Initial firing vector + + vector. Size of this vector corresponds to the number of event outputs. The value of the i-th entry specifies the time of the preprogrammed event firing on the i-th output event port. If less than zero, no event is preprogrammed. + Properties : Type 'vec' of size sum(%6) + + + + Direct feedthrough + + character "y" or "n", specifies if block has a direct input to output feedthrough. + Properties : Type 'vec' of size 1 + + + + Time dependence + + Time dependance : character "y" or "n", specifies if block output depends explicitly on time. + Properties : Type 'vec' of size 1 + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + sinblk + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/generic_block3.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/sinblk.f (Type 4) + + + + diff --git a/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/scifunc_block_m.xml b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/scifunc_block_m.xml new file mode 100755 index 000000000..7aa1a6c5a --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Userdefinedfunctions_pal/scifunc_block_m.xml @@ -0,0 +1,296 @@ + + + + + scifunc_block_m + Scilab function block + + + Block Screenshot + + + + + + + + + + Contents + + + + Scilab function block + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + User defined functions palette + + + + + + Description + + This block can realize any type of Scicos block. The function of the + block is defined interactively using dialogue boxes and in Scilab + language. During simulation, these instructions are interpreted by + Scilab; the simulation of diagrams that include these types of blocks + is slower. For more information see Scicos reference manual. + + + + Dialog box + + + + + + + + + + + + + + input ports sizes + + a matrix. Number of regular input ports + Properties : Type 'mat' of size [-1 2] + Example : [1,1] for one input of size 1x1; [1,1;2,3] for two inputs of size 1x1 and 2x3 + + + + output port sizes + + a matrix. Number of regular output ports + Properties : Type 'mat' of size [-2 2] + Example : [1,1] for one output of size 1x1; [1,1;2,3] for two outputs of size 1x1 and 2x3 + + + + input event ports sizes + + a column vector. Number of input event ports + Properties : Type 'vec' of size -1 + Example : [1] for one input event port; [1;1] for two input event ports + + + + output events ports sizes + + a column vector. Number of output event ports + Properties : Type 'vec' of size -1 + Example : [1] for one output event port; [1;1] for two output event ports + + + + initial continuous state + + a column vector. + Properties : Type 'vec' of size -1 + Example : [0;0] for two initial continuous states + + + + initial discrete state + + a column vector. + Properties : Type 'vec' of size -1 + Example : [0;0] for two initial discrete states + + + + System parameters vector + + a column vector. + Properties : Type 'vec' of size -1 + Example : [0.5;1.5;2.5] for three parameters + + + + initial firing vector + + a column vector. Size of this vector corresponds to the number of event outputs. The value of the i-th entry specifies the time of the preprogrammed event firing on the i-th output event port. If less than zero, no event is preprogrammed. + Properties : Type 'vec' of size sum(Number of output event ports) + Example : [1;2] 1 and 2 are the preprogrammed events firing that correspond to the first output event port and to the second output event port respectively + + + + is block always active + + Properties : Type 'vec' of size 1 + Example : 1 the block is always active; 0 the block is not always active + + + Other dialogues are opened consecutively where the user may write Scilab code associated with the computations needed (block initialization, outputs, continuous and discrete state, output events date, block ending). + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: no + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + scifunc + + + + + + Example + + + + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Misc/scifunc_block_m.sci + + + + + Computational function + + + SCI/modules/scicos/src/fortran/scifunc.f (Type 3) + + + + diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/AA_Zerocrossingdetection_pal.xml b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/AA_Zerocrossingdetection_pal.xml new file mode 100755 index 000000000..f5a191e86 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/AA_Zerocrossingdetection_pal.xml @@ -0,0 +1,107 @@ + + + + + Zerocrossingdetection_pal + Zero crossing detection palette + + + Block Screenshot + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + Zero crossing detection blocks are used to detect values crossing of state + variables during the simulation. This blocks use the solvers (ODE or DAE) + to do that operation. + + + + Blocks + + + + CLINDUMMY_f — Dummy + + + + + GENERAL_f — Zero crossing + + + + + NEGTOPOS_f - Threshold negative to + positive + + + + + + POSTONEG_f - Threshold positive to + negative + + + + + + ZCROSS_f - Threshold detection at + zero + + + + + + diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/CHAPTER b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/CHAPTER new file mode 100755 index 000000000..a40c515aa --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/CHAPTER @@ -0,0 +1 @@ +title = Zero crossing detection palette diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/GENERAL_f.xml b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/GENERAL_f.xml new file mode 100755 index 000000000..99d488028 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/GENERAL_f.xml @@ -0,0 +1,210 @@ + + + + + GENERAL_f + GENERAL_f title + + + Block Screenshot + + + + + + + + + + Contents + + + + GENERAL_f title + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Zero crossing detection palette + + + + + + Description + + Add here a paragraph of the function description + + + + + + Dialog box + + + + + + + + + + + + + + Input size + + The parameter description 1. + Properties : Type 'vec' of size 1. + + + + Number of event output + + The parameter description 2. + Properties : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + zcross + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Threshold/GENERAL_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/zcross.f (Type 1) + + + + diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/NEGTOPOS_f.xml b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/NEGTOPOS_f.xml new file mode 100755 index 000000000..7ec9a3fb0 --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/NEGTOPOS_f.xml @@ -0,0 +1,191 @@ + + + + + NEGTOPOS_f + Threshold negative to positive + + + Block Screenshot + + + + + + + + + + Contents + + + + Threshold negative to positive + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Example + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Zero crossing detection palette + + + + + + Description + + An output event is generated when the unique input crosses zero with a + positive slope. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + zcross + + + + + + Example + + + + + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Threshold/NEGTOPOS_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/zcross.f (Type 1) + + + + diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/POSTONEG_f.xml b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/POSTONEG_f.xml new file mode 100755 index 000000000..522670cdc --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/POSTONEG_f.xml @@ -0,0 +1,176 @@ + + + + + POSTONEG_f + Threshold positive to negative + + + Block Screenshot + + + + + + + + + + Contents + + + + Threshold positive to negative + + + + + + + Palette + + + + + Description + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Zero crossing detection palette + + + + + + Description + + An output event is generated when the unique input crosses zero with a + negative slope. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + zcross + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Threshold/POSTONEG_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/zcross.f (Type 1) + + + + diff --git a/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/ZCROSS_f.xml b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/ZCROSS_f.xml new file mode 100755 index 000000000..0232c8bef --- /dev/null +++ b/modules/xcos/help/en_US/palettes/Zerocrossingdetection_pal/ZCROSS_f.xml @@ -0,0 +1,203 @@ + + + + + ZCROSS_f + Threshold detection at zero + + + Block Screenshot + + + + + + + + + + Contents + + + + Threshold detection at zero + + + + + + + Palette + + + + + Description + + + + + Dialog box + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + + + + Palette + + + + Zero crossing detection palette + + + + + + Description + + An output event is generated when all inputs (if more than one) cross + zero simultaneously. + + + + + Dialog box + + + + + + + + + + + + + + Input size + + a positive integer. + Property : Type 'vec' of size 1. + + + + + Default properties + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: no + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + zcross + + + + + + Interfacing function + + + SCI/modules/scicos_blocks/macros/Threshold/ZCROSS_f.sci + + + + + Computational function + + + SCI/modules/scicos_blocks/src/fortran/zcross.f (Type 1) + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/CHAPTER b/modules/xcos/help/en_US/programming_scicos_blocks/CHAPTER new file mode 100755 index 000000000..28f2a05ff --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/CHAPTER @@ -0,0 +1 @@ +title = Programming xcos Blocks diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/CHAPTER b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/CHAPTER new file mode 100755 index 000000000..07ad43342 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/CHAPTER @@ -0,0 +1 @@ +title = C Computational Functions diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_macros.xml b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_macros.xml new file mode 100755 index 000000000..b0b63c4d6 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_macros.xml @@ -0,0 +1,551 @@ + + + + + C_macros + Utilities C macros + + + Contents + + + + C_macros - Utilities C macros + + + + + + + Module + + + + + Description + + + + + Inputs/outputs + + + + + Events + + + + + Parameters + + + + + States and work + + + + + Zero crossing surfaces and modes + + + + + + + + Module + + + + xcos + + + + + + Description + + The following C macros are avialable by including the file + in a C computational function. + + + + + + + Inputs/outputs + + + + Macro + + + Description + + + + GetNin(blk) + Get number of regular input port. + + + + GetInPortRows(blk,x) + Get number of rows (first dimension) of regular input port number + x. + + + + GetInPortCols(blk,x) + Get number of columns (second dimension) of regular input port number + x. + + + + GetInPortSize(blk,x,y) + Get regular input port size number x. (y=1 for the first dimension, + y=2 for the second dimension) + + + + GetInType(blk,x) + Get type of regular input port number x. + + + + GetInPortPtrs(blk,x) + Get regular input port pointer of port number x. + + + + GetRealInPortPtrs(blk,x) + Get pointer of real part of regular input port number x. + + + + GetImagInPortPtrs(blk,x) + Get pointer of imaginary part of regular input port number x. + + + + Getint8InPortPtrs(blk,x) + Get pointer of int8 typed regular input port number x. + + + + Getint16InPortPtrs(blk,x) + Get pointer of int16 typed regular input port number x. + + + + Getint32InPortPtrs(blk,x) + Get pointer of int32 typed regular input port number x. + + + + Getuint8InPortPtrs(blk,x) + Get pointer of uint8 typed regular input port number x. + + + + Getuint16InPortPtrs(blk,x) + Get pointer of uint16 typed regular input port number x. + + + + Getuint32InPortPtrs(blk,x) + Get pointer of uint32 typed regular input port number x. + + + + GetSizeOfIn(blk,x) + Get the sizeof of the regular input port number x. + + + + GetNout(blk) + Get number of regular output port. + + + + GetOutPortRows(blk,x) + Get number of rows (first dimension) of regular output port number + x. + + + + GetOutPortCols(blk,x) + Get number of columns (second dimension) of regular output port number + x. + + + + GetOutPortSize(blk,x,y) + Get regular output port size number x. (y=1 for the first dimension, + y=2 for the second dimension) + + + + GetOutType(blk,x) + Get type of regular output port number x. + + + + GetOutPortPtrs(blk,x) + Get regular output port pointer of port number x. + + + + GetRealOutPortPtrs(blk,x) + Get pointer of real part of regular output port number x. + + + + GetImagOutPortPtrs(blk,x) + Get pointer of imaginary part of regular output port number x. + + + + Getint8OutPortPtrs(blk,x) + Get pointer of int8 typed regular output port number x. + + + + Getint16OutPortPtrs(blk,x) + Get pointer of int16 typed regular output port number x. + + + + Getint32OutPortPtrs(blk,x) + Get pointer of int32 typed regular output port number x. + + + + Getuint8OutPortPtrs(blk,x) + Get pointer of uint8 typed regular output port number x. + + + + Getuint16OutPortPtrs(blk,x) + Get pointer of uint16 typed regular output port number x. + + + + Getuint32OutPortPtrs(blk,x) + Get pointer of uint32 typed regular output port number x. + + + + GetSizeOfOut(blk,x) + Get the sizeof of the regular output port number x. + + + + + + + + + Events + + + + + + Macro + + + Description + + + + GetNevIn(blk) + Get the input event number. + + + + GetNevOut(blk) + Get number of event output port. + + + + GetNevOutPtrs(blk) + Get pointer of event output register. + + + + + + + + + Arguments + + + + + + Macro + + + Description + + + + GetNipar(blk) + Get number of integer parameters. + + + + GetIparPtrs(blk) + Get pointer of the integer parameters register + + + + GetNrpar(blk) + Get number of real parameters. + + + + GetRparPtrs(blk) + Get pointer of the real parameters register. + + + + GetNopar(blk) + Get number of object parameters. + + + + GetOparType(blk,x) + Get type of object parameters number x. + + + + GetOparSize(blk,x,y) + Get size of object parameters number x. (y=1 for the first dimension, + y=2 for the second dimension) + + + + GetOparPtrs(blk,x) + Get pointer of object parameters number x. + + + + GetRealOparPtrs(blk,x) + Get pointer of real object parameters number x. + + + + GetImagOparPtrs(blk,x) + Get pointer of imaginary part of object parameters number x. + + + + Getint8OparPtrs(blk,x) + Get pointer of int8 typed object parameters number x. + + + + Getint16OparPtrs(blk,x) + Get pointer of int16 typed object parameters number x. + + + + Getint32OparPtrs(blk,x) + Get pointer of int32 typed object parameters number x. + + + + Getuint8OparPtrs(blk,x) + Get pointer of uint8 typed object parameters number x. + + + + Getuint16OparPtrs(blk,x) + Get pointer of uint16 typed object parameters number x. + + + + Getuint32OparPtrs(blk,x) + Get pointer of uint32 typed object parameters number x. + + + + GetSizeOfOpar(blk,x) + Get the sizeof of the object parameters number x. + + + + + + + + + States and work + + + + + + Macro + + + Description + + + + GetNstate(blk) + Get number of continuous state. + + + + GetState(blk) + Get pointer of the continuous state register. + + + + GetDstate(blk) + Get number of discrete state. + + + + GetNdstate(blk) + Get pointer of the discrete state register. + + + + GetNoz(blk) + Get number of object state. + + + + GetOzType(blk,x) + Get type of object state number x. + + + + GetOzSize(blk,x,y) + Get size of object state number x. (y=1 for the first dimension, y=2 + for the second dimension) + + + + GetOzPtrs(blk,x) + Get pointer of object state number x. + + + + GetRealOzPtrs(blk,x) + Get pointer of real object state number x. + + + + GetImagOzPtrs(blk,x) + Get pointer of imaginary part of object state number x. + + + + Getint8OzPtrs(blk,x) + Get pointer of int8 typed object state number x. + + + + Getint16OzPtrs(blk,x) + Get pointer of int16 typed object state number x. + + + + Getint32OzPtrs(blk,x) + Get pointer of int32 typed object state number x. + + + + Getuint8OzPtrs(blk,x) + Get pointer of uint8 typed object state number x. + + + + Getuint16OzPtrs(blk,x) + Get pointer of uint16 typed object state number x. + + + + Getuint32OzPtrs(blk,x) + Get pointer of uint32 typed object state number x. + + + + GetSizeOfOz(blk,x) + Get the sizeof of the object state number x. + + + + GetWorkPtrs(blk)(blk) + Get the pointer of the Work array. + + + + + + + + + Zero crossing surfaces and modes + + + + + + Macro + + + Description + + + + GetNg(blk) + Get number of zero crossing surface. + + + + GetGPtrs(blk) + Get pointer of the zero crossing register. + + + + GetNmode(blk) + Get number of modes. + + + + GetModePtrs(blk) + Get pointer of the mode register. + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml new file mode 100755 index 000000000..c42f6e091 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_struct.xml @@ -0,0 +1,1599 @@ + + + + + C_struct + C Block structure of a computational function + + + Description + + + + Contents + + + + C_struct - C Block structure of a computational function + + + + + + + Module + + + + + Description + + + + + Inputs/outputs + + + + + Events + + + + + Parameters + + + + + States and work + + + + + Zero crossing surfaces and modes + + + + + Miscallaneous + + + + + + + + Module + + + + xcos + + + + + + Description + + The C structure of a Scicos block defines all the fields to handle data provided by the simulator such inputs/outputs, parameters, states, ... + + + That structure of type scicos_block is defined in the file scicos_block4.h included into the standard Scilab distribution, and users must include that header in each computational functions. + + + This access is a direct approach and most of users should prefer the C macros approach for facilities purpose. + + + + Inputs/outputs + + + + block->nin : Integer that gives the number of regular input ports of the block. + + + One can't override the index (3*block->nin)-1 when reading sizes of input ports in the array insz and the index block->nin-1 when reading data in the array inptr with a C computational function. + The number of regular input ports can also be got by the use of the C macros GetNin(block). + + + + + block->insz : An array of integers of size (3*block->nin)-1 that respectively gives the first dimensions, the second dimensions and the type of data driven by regular input ports. + + + Note that this array of size differs from the array ozsz and oparsz to provide full compatibility with blocks that only use a single dimension. + + Suppose that you have a block with three inputs : the first is an int32 matrix of size [3,2], the second a single complex number (matrix of size [1,1]) and the last a real matrix of size [4,1]. + + In thescicos_model of such a block, the inputs will be defined : + + + model = scicos_model(); + model.in = [3;1;4]; + model.in2 = [2;1;1]; + model.intyp = [2;1;3]; + + + and the corresponding block->insz field at C computational function level will be coded as : + + + + + + + + + + + Do the difference here in the type numbers defined at the Scilab level (2,1,3) and the type numbers defined at the C level (84,11,10). The following table gives the correspondance for all Scicos type: + + + + + Scilab Type + + + Scilab Number + + + C Type + + + C Number + + + + real + 1 + double + 10 + + + complex + 2 + double + 11 + + + int32 + 3 + long + 84 + + + int16 + 4 + short + 82 + + + int8 + 5 + char + 81 + + + uint32 + 6 + unsigned long + 814 + + + uint16 + 7 + unsigned short + 812 + + + uint8 + 8 + unsigned char + 811 + + + + + + block->inptr : An array of pointers of size nin,1 that allow to directly access to the data contained in the regular input matrices. + + Suppose the previous example (block with three inputs : an int32 matrix of size [3,2], a complex scalar and a real matrix of size [4,1]). + + block->inptr contains three pointers, and should be viewed as arrays contained the data for the int32, the real and the complex matrices : + + + + + + + + + + + For i.e., to directly access to the data, the user can use theses instructions : + + inptr[0]; + /*get the ptrs of the second complex regular input port*/ + ptr_dc = (SCSCOMPLEX_COP *) block->inptr[1]; + /*get the ptrs of the third real regular input port*/ + ptr_d = (SCSREAL_COP *) block->inptr[2]; + + ... + + /*get the dimension of the first int32 regular input port*/ + n1=block->insz[0]; + m1=block->insz[3]; + + /*compute the cumsum of the input int32 matrix*/ + for(i=0;i + + One can also use the set of C macros : GetInPortPtrs(blk,x), GetRealInPortPtrs(block,x), GetImagInPortPtrs(block,x), Getint8InPortPtrs(block,x), Getint16InPortPtrs(block,x), Getint32InPortPtrs(block,x), Getuint8InPortPtrs(block,x), Getuint16InPortPtrs(block,x), Getuint32InPortPtrs(block,x) to have the appropriate pointer of the data to handle and GetNin(block), GetInPortRows(block,x), GetInPortCols(block,x), GetInPortSize(block,x,y), GetInType(block,x), GetSizeOfIn(block,x) to handle number, dimensions and type of regular input ports. + (x is numbered from 1 to nin and y numbered from 1 to 2). + + + For the previous example that gives : + + + + Finally note that the regular input port registers are only accessible for reading. + + + + + block->nout : Integer that gives the number of regular output ports of the block. + + + One can't override the index (3*block->nout)-1 when reading sizes of output ports in the array outsz and the index block->nout-1 when reading data in the array outptrwith a C computational function. + + + The number of regular output ports can also be got by the use of the C macros GetNout(block) . + + + + + block->outsz : An array of integers of size (3*block->nout)-1 that respectively gives the first dimensions, the second dimensions and the type of data driven by regular output ports. + + + Note that this array of size differs from the array ozsz and oparsz to provide full compatibility with blocks that only use a single dimension. + + Suppose that you have a block with two outputs : the first is an int32 matrix of size [3,2], the second a single complex number (matrix of size 1,1) and the last a real matrix of size [4,1]. + + In thescicos_model of such a block, the outputs will be defined : + + + + and the corresponding block->outsz field at C computational function level will be coded as : + + + + + + + + + + + Do the difference here in the type numbers defined at the Scilab level (2,1,3) + and the type numbers defined at the C level (84,11,10) and please report to the previous table to have the correspondence for all Scicos type. + + + + + block->outptr : An array of pointers of size [nout,1] that allow to directly acces to the data contained in the regular output matrices. + + Suppose the previous example (block with three outputs : an int32 matrix of size [3,2], a complex scalar and a real matrix of size [4,1]). + + block->outptr contains three pointers, and should be viewed as arrays contained the data for the int32, the real and the complex matrices : + + + + + + + + + + + For i.e., to directly access to the data, the user can use theses instructions : + + + outptr[0]; + /*get the ptrs of the second complex regular output port*/ + ptr_dc = (SCSCOMPLEX_COP *) block->outptr[1]; + /*get the ptrs of the third real regular output port*/ + ptr_d = (SCSREAL_COP *) block->outptr[2]; + + /*get the dimension of the first int32 regular output port*/ + n1=block->outsz[0]; + m1=block->outsz[3]; + + /*compute the cumsum of the output int32 matrix*/ + for(i=0;i + One can also use the set of C macros : + GetOutPortPtrs(block,x), GetRealOutPortPtrs(block,x), GetImagOutPortPtrs(block,x), Getint8OutPortPtrs(block,x), Getint16OutPortPtrs(block,x), Getint32OutPortPtrs(block,x), Getuint8OutPortPtrs(block,x), Getuint16OutPortPtrs(block,x), Getuint32OutPortPtrs(block,x) to have the appropriate pointer of the data to handle and GetNout(block), GetOutPortRows(block,x), GetOutPortCols(block,x), GetOutPortSize(block,x,y), GetOutType(block,x), GetSizeOfOut(block,x)to handle number, dimensions and type of regular output ports. (x is numbered from 1 to nout and y is numbered from 1 to 2). + + + For the previous example that gives : + + + + Finally note that the regular output port registers must be only written for flag=1. + + + + + + Events + + + + block->nevprt : Integer that gives the event input port number by which the block has been activated. This number is a binary coding. For i.e, if block has two event inputs ports, block->nevptrcan take the value 1 if the block has been called by its first event input port, the value 2 if it has been called by the second event input port and 3 if it is called by the same event on both input port 1 and 2. + + + Note that can be -1 if the block is internally called. + + + One can also retrieve this number by using the C macros GetNevIn(block) + + + + + block->nevout : Integer that gives the number of event output ports of the block (also called the length of the output event register). + + + One can't override the index block->nevout-1 when setting value of events in the output event register evout. + + + The number of event output ports can also be got by the use of the C macro GetNevOut(block). + + + + + block->evout : Array of double of size [nevout,1] corresponding to the output event register. That register is used to program date of events during the simulation. + + When setting values in that array, you must understand that you give a delay relative to the current time of simulator : + + $$ + t_{event} = t_{current} + T_{delay} + $$ + + + where $t_{event}$ is the date of the programmed event, $t_{cur}$ is the current time in the simulator and $T_{delay}$ the value that must be informed in the output event register. + + + For i.e, suppose that you want generate an event with the first event output port, 1ms after + each calls of the block, then you'll use : + + evout[0]=0.001; + } +... +} + +]]> + + Note that every events generated from output event register will be asynchronous with event coming from event input port (even if you set + block->evout[x]=0). + + + The event output register must be only written for + flag=3. + + + + + + + + + Arguments + + + + + + + block->nrpar : Integer that gives the length of the real parameter register. + + + One can't override the index (block->nrpar)-1 when reading value of real parameters in the register rpar. + + + The total number of real parameters can also be got by the use of the C macro rpar. + + + + + block->rpar : Array of double of size [nrpar,1] corresponding to the real parameter register. That register is used to pass real parameters coming from the Scilab/Xcos environment to your block model. + + The C type of that array is (or C scicos type ). + + Suppose that you have defined the following real parameters in thescicos_model of a block : + + + + you can retrieve the previous data in the C computational function with : + + rpar[0]; + /*get the second value of the real param register*/ + PI_2 = block->rpar[1]; + /*get the third value of the real param register*/ + PI_4 = block->rpar[2]; +... +} + ]]> + + + You can also use the C macro GetRparPtrs(block) to get the pointer of the + real parameter register. For i.e., if we define the following + scicos_model + in an interfacing function of a + scicos block : + + + + + in the corresponding C computational function of that block, we'll use : + + + + Note that real parameters register is only accessible for reading. + + + + + block->nipar : Integer that gives the length of the integer parameter register. + + + One can't override the index (block->nipar)-1 when reading value of integer parameters in the register ipar. + + + The total number of integer parameters can also be got by the use of the C macro GetNipar(block). + + + + + block->ipar : Array of int of size nipar,1 corresponding to the integer parameter register. That register is used to pass integer parameters coming from the Scilab/Xcos environment to your block model. + + + The C type of that array is int* (or C scicos type SCSINT_COP *). + + + Suppose that you have defined the following integer parameters in thescicos_model of a block : + + + + you can retrieve the previous data in the C computational function with : + + ipar[0]; + /*get the second value of the integer param register*/ + two = block->ipar[1]; + /*get the third value of the integer param register*/ + three = block->ipar[2]; + /*get the fourth value of the integer param register*/ + five = block->ipar[3]; +... +} + ]]> + + You can also use the C macro GetIparPtrs(block) to get the pointer of the integer parameter register. + + + Most of time in the scicos C block libraries, the integer register is used to parametrize the length of real parameters. For i.e. if you define the following scicos_model in a block : + + + + the array of real parameters (parametrized by ipar) can be retrieved in the correspondig C computational function with : + + ipar[0]; + /*get size of the second real param register*/ + B_sz = block->ipar[1]; + /*get the A ptrs array*/ + A = rpar; + /*get the B ptrs array*/ + B = &rpar[A_sz]; + + /*compute the cumsum of the first real parameter array*/ + cumsum = 0; + for(i=0;i + + Note that integer parameters register is only accessible for reading. + + + + + block->nopar : Integer that gives the number of the object parameters. + + + One can't override the index block->nopar-1 when accessing data in the arrays oparsz, opartypand oparptr in a C computational function. + + + This value is also accessible via the C macro GetNopar(block). + + + + + block->oparsz : An array of integer of size [nopar,2] that contains the dimensions of matrices of object parameters. + + The first column is for the first dimension and the second for the second dimension. For i.e. if we want the dimensions of the last object parameters, we'll use the instructions : + + nopar; + + ... + + /*get number of row of the last object parameter*/ + n=block>oparsz[nopar-1]; + /*get number of column of the last object parameter*/ + m=block>oparsz[2*nopar-1]; +... +} +]]> + + The dimensions of object parameters can be get with the following C macros GetOparSize(block,x,1) to get the first dimension of opar and GetOparSize(block,x,2)to get the second dimension with x an integer that gives the index of the object parameter, numbered from 1 to nopar. + + + + + block->opartyp : An array of integer of size [nopar,1] that contains the type of matrices of object parameters. + + + The following table gives the correspondence for Scicos/Xcos type expressed in Scilab number, in C number and also corresponding C pointers and C macros used for oparptr: + + + + ScilabC + + + TypeNumberNumberTypeMacros + + + Real110doubleSCSREAL_OP + + + complex211doubleSCSCOMPLEX_COP + + + int32384longSCSINT32_OP + + + int16482shortSCSINT16_OP + + + int8581charSCSINT8_OP + + + uint326814unsigned longSCSUINT32_OP + + + uint167812unsigned shortSCSUINT16_OP + + + uint88811unsigned charSCSUINT8_OP + + + all other data-1doubleSCSUNKNOWN_COP + + + + The type of object parameter can also be got by the use of the C macro GetOparType(block,x). For i.e, if we want the C number type of the first object parameter, we'll use the following C instructions: + + + + + + + + block->oparptr : An array of pointers of size [nopar,1] that allow to a direct access to the data contained in the object parameter. + + + Suppose that you have defined in the editor a block with the followingopar field inscicos_model : + + + + Then we have three object parameters, one is an 32-bit integer matrix with two rows and two columns, the second is a vector of complex numbers that can be understand as a matrix of size [1,3] and the third is a string encoded as a standard C one (ASCII ended with a '\0'). + + + At the C computational function level, the instructions block->oparsz[0], block->oparsz[1], block->oparsz[2], block->oparsz[3], block->oparsz[4], block->oparsz[5] will respectively return the values 2, 1, 1, 2, 3, 3 and the instructions block->opartyp[0], block->opartyp[1], block->opartyp[2] the values 11, 84, 81. + + + block->oparptr will contain then three pointers, and should be viewed as arrays contained data of object parameter as shown in the following figure : + + + + + + + + + + For i.e., to directly access to the data, the user can use theses instructions : + oparptr[0]; + /*get the ptrs of a double object parameter*/ + ptr_d = (SCSCOMPLEX_COP *) block->oparptr[1]; + /*get the string*/ + str = (char*) block->oparptr[2]; + ... + /*compute the cumsum of the int32 matrix*/ + cumsum_i = ptr_i[0]+ptr_i[1]+ptr_i[2]+ptr_i[3]; ... + /*compute the cumsum of the real part of the complex matrix*/ + cumsum_d = ptr_d[0]+ptr_d[1]+ptr_d[2]; + fprintf(stderr, str); +... +} +]]> + + One can also use the set of C macros : GetRealOparPtrs(block,x), GetImagOparPtrs(block,x), Getint8OparPtrs(block,x), Getint16OparPtrs(block,x), Getint32OparPtrs(block,x), Getuint8OparPtrs(block,x), Getuint16OparPtrs(block,x), Getuint32OparPtrs(block,x) to have the appropriate pointer of the data to handle (x is numbered from 1 to nopar). + + + For the previous example that gives : + + + + Note that object parameters register is only accessible for reading. + + + + + + + + + States and work + + + + + + + block->nx : Integer that gives the length of the continus state register. + + + One can't override the index block->nx-1 when reading or writing data in the array , or with a C computational function. + + + + + block->x : Array of double of size [nx,1] corresponding to the continuous state register. + + That gives the result of the computation of the state derivative. + A value of a continuous state is readable (for i.e the first state) with the C instructions : + + x[0]; +... +} +]]> + + Note that on flag=4, user can write some initial conditions in that register. + + + The pointer of that array can also be retrieve via the C macro GetState(block). + + + + + block->xd : Array of double of size [nx,1] corresponding to the derivative of the continuous state register. + + + When systems are explicitly given in terms of Ordinary Differential Equations (ODE), it can be explicitly expressed or implicitly used in the residual vector res when systems are expressed in terms of Differantial Algebraic Equations (DAE). + + + Both systems must be programmed with flag=0. + + For i.e the Lorenz attractor written as an ODE system with three state variables, of the form : + + + $$ + \dot{x} = f(x,t) + $$ + + + will be defined : + + x; + double *xd = block->xd; + + if (flag == 0) { + xd[0] = a*(x[1]-x[0]); + xd[1] = x[1]*(b-x[2])-x[1]; + xd[2] = x[0]*x[1]-c*x[2]; + } +... +} +]]> + + + + block->res : Array of double of size [nx,1] corresponding to Differential Algebraic Equation (DAE) residual. + + It is used to write the vector of systems that have the following form : + + $$ + f(x, \dot{x}, t) = 0 + $$ + + For i.e the Lorenz attractor written as a DAE system with three state variables, will be defined : + + x; + double *xd = block->xd; + double *res = block->res; + + if (flag == 0) { + res[0] = - xd[0] + (a*(x[1]-x[0])); + res[1] = - xd[1] + (x[0]*(b-x[2])-x[1]); + res[2] = - xd[2] + (x[0]*x[1]-c*x[2]); + } +... +} +]]> + + + + block->nz : Integer that gives the length of the discrete state register. + + + One can't override the index block->nz-1 when reading data in the array z with a C computational function. + + + This value is also accessible via the C macros GetNdstate(block). + + + + + block->z : Array of double of size [nz,1] corresponding to the discrete state register. + + A value of a discrete state is directly readable (for i.e the second state) with the C instructions : + + z[1]; +... +} +]]> + + Note that the state register should be only written for flag=4 and flag=2 + + + The pointer of that array can also be retrieve via the C macro GetDstate(block). + + + + + block->noz : Integer that gives the number of the discrete object states. + + + One can't override the index block->noz-1 when accessing data in the arrays ozsz, oztyp and ozptr in a C computational function. + + + This value is also accessible via the C macro GetNoz(block). + + + + + block->ozsz : An array of integer of size [noz,2] that contains the dimensions of matrices of discrete object states. + + The first column is for the first dimension and the second for the second dimension. For i.e. if we want the dimensions of the last object state, we'll use the instructions : + + noz; + /*get number of row of the last object state*/ + n=block>ozsz[noz-1]; + /*get number of column of the last object state*/ + m=block>ozsz[2*noz-1]; +... +} +]]> + + The dimensions of object discrete states can be get with the following C macro : GetOzSize(block,x,1) for the first dimension and GetOzSize(block,x,2) for the second dimension with x an integer that gives the index of the discrete object state, numbered from 1 to noz. + + + + + block->oztyp : An array of integer of size [noz,1] that contains the type of matrices of discrete object states. + + + The following table gives the correspondence table for scicos type expressed in Scilab number, in C number and also corresponding C pointers and C macros used for ozptr: + + + + ScilabC + + + TypeNumberNumberTypeMacros + + + Real110doubleSCSREAL_OP + + + complex211doubleSCSCOMPLEX_COP + + + int32384longSCSINT32_OP + + + int16482shortSCSINT16_OP + + + int8581charSCSINT8_OP + + + uint326814unsigned longSCSUINT32_OP + + + uint167812unsigned shortSCSUINT16_OP + + + uint88811unsigned charSCSUINT8_OP + + + all other data-1doubleSCSUNKNOWN_COP + + + + The type of discrete object state can also be got by the use of the C macro GetOzType(block,x). For i.e, if we want the C number type of the first discrete object state, we'll use the following C instructions: + + + + + + block->ozptr : An array of pointers of size [noz,1] that allow to a direct access to the data contained in the discrete object state. + + + Suppose that you have defined in the editor a block with the followingodstate field in scicos_model : + + + + Then we have two discrete object states, one is an 32-bit integer matrix with two rows and two columns and the second is a vector of complex numbers that can be understand as a matrix of size [1,3]. + + + At the C computational function level, the instructions block->ozsz[0], block->ozsz[1], block->ozsz[2] and block->ozsz[3] will respectively return the values 2,1,2,3 and the instructions block->oztyp[0], block->oztyp[1] the values 11 and 84. + + + block->ozptr will then contain two pointers, and should be viewed as arrays contained data of discrete object state as shown in the following figure : + + + + + + + + + + + For i.e., to directly access to the data, the user can use theses instructions : + ozptr[0]; + /*get the ptrs of a double discrete object state*/ + ptr_d = (SCSCOMPLEX_COP *) block->ozptr[1]; + + /*compute the cumsum of the int32 matrix*/ + cumsum_i = ptr_i[0]+ptr_i[1]+ptr_i[2]+ptr_i[3]; + + /*compute the cumsum of the real part of the complex matrix*/ + cumsum_d = ptr_d[0]+ptr_d[1]+ptr_d[2]; +... +} +]]> + + One can also use the set of C macros : GetRealOzPtrs(block,x), GetImagOzPtrs(block,x), Getint8OzPtrs(block,x), Getint16OzPtrs(block,x), Getint32OzPtrs(block,x), Getuint8OzPtrs(block,x), Getuint16OzPtrs(block,x), Getuint32OzPtrs(block,x) to have the appropriate pointer of the data to handle (x is numbered from 1 to noz). + + + For the previous example that gives : + + + + Finally note that the discrete objects state should be only written for flag=4 and flag=2. + + + + + block->work : A free pointer to set a working array for the block. + + + The work pointer must be firstly allocated when flag=4 and finally be free in the flag=5. + + Then a basic life cyle of that pointer in a C computational function should be : + + work; +... + +void mycomputfunc(scicos_block *block,int flag) +{ +... + switch(flag) { + case 4: /*initialization*/ + /*allocation of work*/ + if (*work=scicos_malloc(sizeof(double))==NULL) { + set_block_error(-16); + return; + } + break; + + case 5: /*finish*/ + scicos_free(*work); + break; + + /*other flag treatment*/ + ... + } + +... +} +]]> + + Note that if a block use a work pointer, it will be called with flag=2> even if the block do not use discrete states. + + + The pointer of that array can also be retrieve via the C macro GetWorkPtrs(block). + + + + + + + + + Zero crossing surfaces and modes + + + + + + + block->ng : Integer that gives the number of zero crossing surface of the block. + + + One can't override the index (block->ng)-1 when reading/writing data in the array g with a C computational function. + + + The number of zero crossing surface can also be got by the use of the C macro GetNg(block). + + + + + block->g : Array of double of size [ng,1] corresponding to the zero crossing surface register. + + That register is used to detect zero crossing of state variable during time domain integration. + + Note that it is accessible for writing for flag=9. + + + The pointer of that array can also be retrieve via the C macro GetGPtrs(block). + + + + + block->nmode : Integer that gives the number of mode of the block. + + + One can't override the index (block->mode)-1 when reading/writing data in the array with a C computational function. + + + The number of mode can also be got by the use of the C macro GetNmode(block). + + + + + block->mode : Array of integer of size [nmode,1] corresponding to the mode register. + + That register is used to set the mode of state variable during time domain integration. + + It is typically accessible for writing for flag=9. + + + The pointer of that array can also be retrieve via the C macro GetModePtrs(block). + + + + + + + + + Miscallaneous + + + + block->type : Integer that gives the type of the computational function. For C blocks, this number is equal to 4. + + + + + block->label : Strings array that allows to retrieve the label of the block. + + + + + block->uid : Strings array that allows to retrieve the uid of the block. + + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_utils.xml b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_utils.xml new file mode 100755 index 000000000..3c2883e42 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/c_computational_functions/C_utils.xml @@ -0,0 +1,174 @@ + + + + + C_utils + Utilities C functions + + + Contents + + + + C_utils - Utilities C functions + + + + + + + Module + + + + + Description + + + + + + + + Module + + + + xcos + + + + + + Description + + The + header provides some utilities + functions to interact with the simulator in the C computational functions. + + + + + + + + void do_cold_restart(); + + This function forces the solver to do a cold restart. It should be used in situations where the block creates a non smooth signal. + + + + Note that in most situations, non smooth situations are detected by zero-crossings and this function is not needed. This block is used in very exceptional situations. + + + + + + int get_phase_simulation(); + + That function returns an integer which says if the simulator is realizing time domain integration. It can returns : + + + + 1: The simulator is on a discrete activation time. + + + + + 2: The simulator is realizing a continuous time domain integration. + + + + + + + + double get_scicos_time(); + + That function returns the current time of simulator. + + + + int get_block_number(); + + That function returns an integer : the block index in the compiled structure. Each block in the simulated diagram have a single index, and blocks are numbered from 1 to nblk (the total number of blocks in the compiled structure). + + + + void set_block_error(int); + + Function to set a specific error during the simulation for the current block. If it is used, then after the execution of the computational function of the block, the simulator will end and will return an error message associated to the number given in the integer argument. + The following calls are allowed : + + + + set_block_error(-1); : the block has been called with input out of its domain, + + + + + set_block_error(-2); : singularity in a block, + + + + + set_block_error(-3); : block produces an internal error, + + + + + set_block_error(-16); : cannot allocate memory in block. + + + + + + + + void end_scicos_sim(); + + A very specific function to set the current time of the simulator to the final time integration. + Only expert user should use this function. + + + + void set_pointer_xproperty(int* pointer); + + This function set a vector of integer to inform the type (algebraic or differential) of the continuous state variables of the block. + + + + void * scicos_malloc(size_t); + + That function must be used to do allocation of scicos pointers inside a C computational function and in particular for =4 for the work pointer . + + + + void scicos_free(void *p); + + That function must be used to free scicos pointers inside a C computational function and in particular for =5 for the work pointer . + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/CHAPTER b/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/CHAPTER new file mode 100755 index 000000000..52798d7f7 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/CHAPTER @@ -0,0 +1 @@ +title = Scilab Computational Functions diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/sci_struct.xml b/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/sci_struct.xml new file mode 100755 index 000000000..6b381d572 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/scilab_computational_functions/sci_struct.xml @@ -0,0 +1,495 @@ + + + + + sci_struct + Scicos block structure of a scilab computational function + + + Contents + + + + sci_struct - Scicos block structure of a scilab computational function + + + + + + + Module + + + + + Description + + + + + Inputs/outputs + + + + + Events + + + + + Parameters + + + + + States + + + + + Zero crossing surfaces and modes + + + + + Miscallaneous + + + + + + + + Module + + + + xcos + + + + + + Description + + A Scicos computational function of type 5 can be realized by the use of a Scilab function. + That function does not really differs from all other scilab function : one can use all functions and + instructions of the scilab language inside that function to do the computation. + + + Such a function must be written in a file with extension .sci, must be loaded inside scilab by the + common loading scilab function (, , , ,...) and must have + two right hand side arguments and one left hand side argument, as the following calling sequence : + + + + + + When the simulator is calling such a computational function, it build a scilab structure (in the previous exemple this is the named rhs/lhs arguments) from his own internal C reprensation of a block structure (see + for more details about the C structure of scicos + blocks). + + + That scilab structure is a scilab typed list variable that have the following fields : + + + + + + Each fields are then accessible inside the scilab computational function by the use of : + + + + + + + + + + Inputs/outputs + + + + + + + block.nin : a scalar that gives the number of regular input ports. This is a read only data. + + + + + block.insz : a vector of size , that gives the dimensions and types of the regular input ports. + + + + + : are the first dimensions. + + + + + : are the second dimensions. + + + + + : are the type of data (C coding). + + + + + This is a read only data. + + + + block.inptr : a list of size that enclosed typed matrices for regular input ports. Each element correspond to only one regular input port. Then i-th matrix of the block.inptr list will have the dimensions [ , ] and the type . + + The data type that can be provided by regular input ports are : + + + + 1: matrix of real numbers, + + + + + 2: matrix of complex numbers, + + + + + 3: matrix of int32 numbers, + + + + + 4: matrix of int16 numbers, + + + + + 5: matrix of int8 numbers, + + + + + 6: matrix of uint32 numbers, + + + + + 7: matrix of uint16 numbers, + + + + + 8: matrix of uint8 numbers. + + + + + This is a read only data. + + + + block.nout : a scalar that gives the number of regular output ports. This is a read only data. + + + + + block.outsz : a vector of size , that gives the dimensions and types of the regular output ports. + + + + + : are the first dimensions. + + + + + : are the second dimensions. + + + + + : are the type of data (C coding). + + + + + This is a read only data. + + + + block.outptr : a list of size that enclosed typed matrices for regular output ports. Each element correspond to only one regular output port. Then i-th matrix of the block.outptr list will have the dimensions [ , ] and the type . + + The data type that can be provided by regular output ports are : + + + + 1: matrix of real numbers, + + + + + 2: matrix of complex numbers, + + + + + 3: matrix of int32 numbers, + + + + + 4: matrix of int16 numbers, + + + + + 5: matrix of int8 numbers, + + + + + 6: matrix of uint32 numbers, + + + + + 7: matrix of uint16 numbers, + + + + + 8: matrix of uint8 numbers. + + + + + + Values of regular output ports will be saved in theCstructure of the block only for =6 and =1. + + + + + + + + + Events + + + + + + + block.nevprt : a scalar given the event input port number (binary coding) which have activated the block. This is a read only data. + + + + + block.nevout : a scalar given the number of output event port of the block. This is a read only data. + + + + + block.evout : a vector of size corresponding to the register of output event. Values of output event register will be saved in theC structure of the block only for =3. + + + + + + + + + Arguments + + + + + + + block.nrpar : a scalar given the number of real parameters. This is a read only data. + + + + + block.rpar : a vector of size corresponding to the real parameter register. This is a read only data. + + + + + block.nipar : a scalar given the number of integer parameters. This is a read only data. + + + + + block.ipar : a vector of size correspondig to the integer parameter register. This is a read only data. + + + + + block.nopar : a scalar given the number of object parameters. This is a read only data. + + + + + block.oparsz : a matrix of size , that respectively gives the first and the second dimension of object parameters. This is a read only data. + + + + + block.opartyp : a vector of size given the C coding type of data. This is a read only data. + + + + + block.opar : a list of size given the values of object parameters. Each element of can be either a typed matrix or a list. Only matrix that encloses numbers of type real, complex, int32, int16, int8, uint32, uint16 and uint8 are allowed, all other types of scilab data will be enclosed in a sub-list. This is a read only data. + + + + + + + + + States + + + + + + + block.nz : a scalar given the number of discrete state for the block. This is a read only data. + + + + + block.z : a vector of size corresponding to the discrete state register. Values of discrete state register will be saved in theC structure of the block only for =4, =6, =2 and =5. + + + + + block.noz : a scalar that gives the number of discrete object state. This is a read only data. + + + + + block.ozsz : a matrix of size , that respectively gives the first and the second dimension of discrete object state. This is a read only data. + + + + + block.oztyp : a vector of size given the C coding type of data. + + + + + block.oz : a list of size given the values of discrete object states. Each element of can be either a typed matrix or a list. Only matrix that encloses numbers of type real, complex, int32, int16, int8, uint32, uint16 and uint8 are allowed, all other types of scilab data will be enclosed in a sub-list. Values of discrete object state will be saved in theC structure of the block only for =4, =6, =2 and =5. + + + + + block.nx : a scalar given the number of continuous state for the block. This is a read only data. + + + + + block.x : a vector of size given the value of the continuous state register. Values of the continuous state register will be saved in theC structure of the block only for =4, =6 and =2. + + + + + block.xd : a vector of size given the value of the derivative continuous state register. Values of the derivative continuous state register will be saved in theC structure of the block only for =4, =6, =0 and =2. + + + + + block.res : a vector of size corresponding to the Differential Algebraic Equation (DAE) residual. Values of that register will be saved in theC structure of the block only for =0, and =10. + + + + + + + + + Zero crossing surfaces and modes + + + + + + + block.ng : a scalar given the number of zero crossing surfaces for the block. This is a read only data. + + + + + block.g : a vector of size corresponding to the zero crossing register. Values of that register will be saved in theC structure of the block only for =9. + + + + + block.nmode : a scalar given the number of mode for the block. This is a read only data. + + + + + block.mode : a vector of size that corresponds to the mode register. Values of that register will be saved in theC structure of the block only for =9, with =1. + + + + + + + + + Miscallaneous + + + + + + + block.type : a scalar given the type of the block. This is a read only data. + + + + + block.label : a string given the label of the block. This is a read only data. + + + + + block.uid : a string given the uid of the block. This is a read only data. + + + + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/CHAPTER b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/CHAPTER new file mode 100755 index 000000000..53c07ae35 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/CHAPTER @@ -0,0 +1 @@ +title = Utilities Functions diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/curblock.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/curblock.xml new file mode 100755 index 000000000..46b97429d --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/curblock.xml @@ -0,0 +1,52 @@ + + + + + curblock + Return the current called xcos block during the simulation + + + Module + + + + xcos + + + + + + + Arguments + + + + blk : the current block number in the compiled structure. + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getblocklabel.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getblocklabel.xml new file mode 100755 index 000000000..1a0095745 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getblocklabel.xml @@ -0,0 +1,57 @@ + + + + + getblocklabel + Get the label of a scicos block + + + Module + + + + xcos + + + + + + + Arguments + + + + blk : Integer parameter. Set the index of a block (in the compiled structure). + + + + + label : String parameter. Gives the string of the label of the block numbered blk. + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getscicosvars.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getscicosvars.xml new file mode 100755 index 000000000..7b829edce --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/getscicosvars.xml @@ -0,0 +1,228 @@ + + + + + getscicosvars + Supervisor utility function + + + Calling Sequence + [myvar]=getscicosvars(str) [myvar]=getscicosvars([str1;str2;...]) + + + Module + + + + xcos + + + + + + Description + That utility function is used to retrieve working arrays of Scicos + simulator and compiler during simulation. + + It can be used inside a Scilab block to get information of all type + of blocks. That function is very useful to debug diagrams and to do + prototypes of simulations. + + + + [myvar]=getscicosvars(str) + [myvar]=getscicosvars([str1;str2;...]) + + + + Arguments + + + + str,str1,str2,... : That + parameter can be a string or a matrix of string. The following entries + are allowed : + + "x" : get the continuous state register. + "nx" : get the length of the continuous state register. + "xptr" : get the pointers register of the continuous state + register. + + "zcptr" : get the pointers register of the zero-crossing + surfaces register. + + "z" : get the discrete state register. + "nz" : get the length of the continuous state register. + "zptr" : get the pointers register of the discrete state + register. + + "noz" : get the number of elements of the discrete object state + list. + + "oz" : get the discrete object state list. + "ozsz" : get the size of the elements of the discrete object + state list. + + "oztyp" : get the type of the elements of the discrete object + state list. + + "ozptr" : get the pointers register of the discrete object state + list. + + "rpar" : get the real parameter register. + "rpptr" : get the pointers register of the real parameter + register. + + "ipar" : get the integer parameter register. + "ipptr" : get the pointers register of the integer parameter + register. + + "opar" : get the object parameter list. + "oparsz" : get the size of the elements of the object parameter + list. + + "opartyp" : get the type of the elements of the object parameter + list. + + "opptr" : get the pointers register of the object parameter + list. + + "outtb" : get the output register. + "inpptr" : get the pointers register of the number of regular + input ports. + + "outptr" : get the pointers register of the number of regular + output ports. + + "inplnk" : get the pointers register of the links connected to + regular input ports. + + "outlnk" : get the pointers register of the links connected to + regular output ports. + + "subs" : not used + "tevts" : get the current date register of the agenda. + "evtspt" : get the current event register of the agenda. + "pointi" : get the next event to be activated. + "iord" : get the vector of blocks activated at the start of the + simulation. + + "oord" : get the vector of blocks whose outputs affects + computation of continuous state derivatives. + + "zord" : get the vector of blocks whose outputs affects + computation of zero-crossing surfaces. + + "funtyp" : get the vector of type of computational + functions. + + "ztyp" : get the pointers vector for blocks which use + zero-crossing surfaces. + + "cord" : get the vector of blocks whose outputs evolve + continuously. + + "ordclk" : get the matrix associated to blocks activated by + output activation ports. + + "clkptr" : get the pointers vector for output activation + ports. + + "ordptr" : get the pointers vector to ordclk designating the + part of ordclk corresponding to a given activation. + + "critev" : get the vector of the critical events. + "mod" : get the vector pointers of block modes. + "nmod" : get the length of the vector pointers of block + modes. + + "iz" : get the register that store pointers of + block->work. + + "izptr" : get the pointers vector of the register that store C + pointers of block->work. + + "nblk" : get the number of block. + "outtbptr" : get the register that store C pointers of + outtb. + + "outtbpsz" : get the register that store the size of the + elements of outtb. + + "outtbtyp" : get the register that store the type of the + elements of outtb. + + "nlnk" : get the number of output. + "ncord" : get the number of blocks whose outputs evolve + continuously. + + "nordptr" : get the number of blocks whose outputs evolve by + activation. + + "iwa" : n.d. + "blocks" : get a scilab list that contains all block structures + contains in the diagram. + + "ng" : get length of the zero-crossing surfaces register. + "g" : get the zero-crossing surfaces register. + "t0" : get the current time of the simulation. + "tf" : get the final time of the simulation. + "Atol" : get the integrator absolute tolerance for the numerical + solver. + + "rtol" : get the integrator relative tolerance for the numerical + solver. + + "ttol" : get the tolerance on time of the simulator. + "deltat" : get the maximum integration time interval. + "hmax" : get the maximum step size for the numerical + solver. + + "nelem" : get the number of elements in outtb. + "outtb_elem" : get the vector of the number of elements in + outtb. + + + + + myvar : That output parameter + can be an int32 matrix, a double matrix or a Tlist. This is given by + the input parameter. + + + + + + See Also + + + + DEBUG - Debug block (Scicos + Block) + + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/phase_simulation.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/phase_simulation.xml new file mode 100755 index 000000000..32da996d6 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/phase_simulation.xml @@ -0,0 +1,78 @@ + + + + + phase_simulation + Get the current simulation phase + + + Calling Sequence + [psim]=phase_simulation() + + + Module + + + + xcos + + + + + + Description + + That function says if the Scicos simulator is realizing the time domain integration. + + + + + + + Arguments + + + + psim : get the current phase of the simulation + + + + + 1: + The simulator is on a discrete activation time. + + + + + 2: + The simulator is realizing a continuous time domain integration. + + + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/pointer_xproperty.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/pointer_xproperty.xml new file mode 100755 index 000000000..df8cfe807 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/pointer_xproperty.xml @@ -0,0 +1,86 @@ + + + + + pointer_xproperty + Get the type of a continuous time state variable + + + Calling Sequence + [xprop] = pointer_xproperty() + + + Module + + + + xcos + + + + + + Description + + This function returns a vector that informs the type (algebraic or differential) of the continuous state variables of a block. + + + + + + + Arguments + + + + xprop + + The value gives the type of the states : + + + -1 : an algebraic state. + + + + 1 : a differential state. + + + + + + + + + See Also + + + + set_xproperty - Set the type of a continuous time state variable (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/scicos_time.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/scicos_time.xml new file mode 100755 index 000000000..c47dcb055 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/scicos_time.xml @@ -0,0 +1,55 @@ + + + + + scicos_time + Returns the current time during simulation + + + Module + + + + xcos + + + + + + Examples + + + + Arguments + + + + t: that is the current simulated time returned in real number. + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_blockerror.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_blockerror.xml new file mode 100755 index 000000000..769b0c3f0 --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_blockerror.xml @@ -0,0 +1,99 @@ + + + + + set_blockerror + set the block error number + + + Calling Sequence + set_blockerror(n) + + + Module + + + + xcos + + + + + + Description + + Function to set a specific error during the simulation for the current block. If it is used, then after the execution of the computational function of the block, the simulator will end and will return an error message associated to the number given in argument. + + + + + + + Arguments + + + + n : an error number. The following calls are allowed : + + + + + set_blockerror(-1) + + + the block has been called with input out of its domain + + + + + set_blockerror(-2) + + + singularity in a block + + + + + set_blockerror(-3) + + + block produces an internal error + + + + + set_blockerror(-16) + + + cannot allocate memory in block + + + + + + + + diff --git a/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_xproperty.xml b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_xproperty.xml new file mode 100755 index 000000000..7a0cdc28d --- /dev/null +++ b/modules/xcos/help/en_US/programming_scicos_blocks/utilities_functions/set_xproperty.xml @@ -0,0 +1,86 @@ + + + + + set_xproperty + Set the type of a continuous time state variable + + + Calling Sequence + set_xproperty(xprop) + + + Module + + + + xcos + + + + + + Description + + This function set a vector to inform the type (algebraic or differential) of the continuous state variables of a block. + + + + + + + Arguments + + + + xprop + + The value gives the type of the states : + + + -1 : an algebraic state. + + + + 1 : a differential state. + + + + + + + + + See Also + + + + pointer_xproperty - Get the type of a continuous time state variable (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/CHAPTER b/modules/xcos/help/en_US/scilab_data_structures/CHAPTER new file mode 100755 index 000000000..8a98d6725 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/CHAPTER @@ -0,0 +1 @@ +title = Scilab/Xcos Data Structures diff --git a/modules/xcos/help/en_US/scilab_data_structures/blocks/CHAPTER b/modules/xcos/help/en_US/scilab_data_structures/blocks/CHAPTER new file mode 100755 index 000000000..d1f089ba9 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/blocks/CHAPTER @@ -0,0 +1 @@ +title = Blocks diff --git a/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_block.xml b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_block.xml new file mode 100755 index 000000000..5b3dcac4c --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_block.xml @@ -0,0 +1,120 @@ + + + + + scicos_block + Define a block structure + + + Module + + + + xcos + + + + + + block + + Basic structure that define a xcos block. + + + That structure includes fields graphics, model, + + gui and doc. + + + + + + + Size : 5. + + + Type : scilab list. + + + + + + + + graphics + + Scilab object including graphical information concerning the features of the block. + + Size : 14. + + + Type : scilab list. + + + + + model + + Scilab list that contains the features of the block used for the compilation. + + Size : 23. + + + Type : Scilab list. + + + + + gui + + The name of the Scilab GUI function associated with the block. + + Size : 1. + + + Type : string. + + + + + doc + + Field used for documentation of the block + Size : 1. + + + Type : string. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_block.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_graphics.xml b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_graphics.xml new file mode 100755 index 000000000..d9cf7c8af --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_graphics.xml @@ -0,0 +1,308 @@ + + + + + scicos_graphics + Define a graphics structure + + + Module + + + + xcos + + + + + + graphics + + Scilab object including + graphical information concerning + the features of the block. + + + + + + + Size : 14. + + + Type : scilab list. + + + + + + + + orig + + Vector [xo,yo], where xo is the x coordinate of the block origin and yo is the y coordinate of the block origin. + + [xo,yo] is the coordinate of down-left point of + the block shape. + + + + + Size : 2. + + + Type : row vector of real. + + + + + sz + + Vector [w,h], where w is the block width and h the block height. + + Size : 2. + + + Type : row vector of real. + + + + + flip + + Set the block orientation. If true the input ports are on the left of the box and output ports are on the right. + If false the input ports are on the right of the box and output ports are on the left. + + Size : 1. + + + Type : boolean. + + + + + theta + + Set the angle of the Scicos object. + This value is in degree and is included in [-360,360]. + + Size : 1. + + + Type : real. + + + + + exprs + + Strings including formal expressions used in the dialog box of the block. + + Size : number of formal expressions. + + + Type : column vector of strings. + + + + + pin + + Vector. pin(i) is the number of the link connected to the ith regular input port (counting from one), or 0 if this port is not connected. + + Size : number of regular input ports. + + + Type : column vector of integers. + + + + + pout + + Vector. pout(i) is the number of the link connected to the ith regular output port (counting from one), or 0 if this port is not connected. + + Size : number of regular output ports. + + + Type : column vector of integers. + + + + + pein + + Vector. pein(i) is the number of the link connected to the ith event input port (counting from one), or 0 if this port is not connected. + + Size : number of events input ports. + + + Type : column vector of integers. + + + + + peout + + Vector. peout(i) is the number of the link connected to the ith event output port (counting from one), or 0 if this port is not connected. + + Size : number of events output ports. + + + Type : column vector of integers. + + + + + gr_i + + Strings including Scilab graphics expressions for customizing the block graphical aspect. This field may be set with Icon sub_menu. + + Size : -. + + + Type : column vector of strings. + + + + + id + + A string including an identification for the block. The string is displayed under the block in the diagram. + + Size : 1. + + + Type : string. + + + + + in_implicit + + A vector of strings including 'E' or 'I'. + 'E' and 'I' stand respectively for explicit and implicit port, and this vector indicates the nature of each input port. For regular blocks (not implicit), this vector is empty or contains only "E". + + Size : nul or number of regular input ports. + + + Type : column vector of strings. + + + + + out_implicit + + A vector of strings including 'E' or 'I'. + 'E' and 'I' stand respectively for explicit and implicit port, and this vector indicates the nature of each output port. For regular blocks (not implicit), this vector is empty or contains only "E". + + Size : nul or number of regular output ports. + + + Type : column vector of strings. + + + + + in_style + + A vector of strings including JGraphX key values style properties. + + These style can be used to place text or to change port aspect (eg. round, green port). This is set in semicolon separated key=value set. For exemple "shape=ellipse;fillColor=green" for a round and green port + + + Size : nul or number of regular input ports. + + + Type : column vector of strings. + + + + + out_style + + A vector of strings including JGraphX key values style properties. + + These style can be used to place text or to change port aspect (eg. round, green port). This is set in semicolon separated key=value set. For exemple "shape=ellipse;fillColor=green" for a round and green port + + + Size : nul or number of regular output ports. + + + Type : column vector of strings. + + + + + in_label + + A vector of strings including ports labels. + These labels can be used to update text or to trace information. + + Size : nul or number of regular input ports. + + + Type : column vector of strings. + + + + + out_label + + A vector of strings including ports labels. + These labels can be used to update text or to trace information. + + Size : nul or number of regular output ports. + + + Type : column vector of strings. + + + + + style + + A string. + A vector of strings including JGraphX key values style properties. + + These style can be used to place text or to change block aspect (eg. shape, image, text). This is set in semicolon separated key=value set. For exemple "shape=ellipse;fillColor=red" for a round and green block + + + Size : nul or 1. + + + Type : a string. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_graphics.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_model.xml b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_model.xml new file mode 100755 index 000000000..568c65001 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_model.xml @@ -0,0 +1,706 @@ + + + + + scicos_model + Define a model structure + + + Module + + + + xcos + + + + + + model + + Scilab list that contains the features + of the block used for the compilation. + + + + + + + Size : 23. + + + Type : Scilab list. + + + + + + + + sim + + A list containing two elements. The first element is a string containing the name of the computational function (C, Fortran,or Scilab). The second element is an integer specifying the type of the computational function. Currently type 4 and 5 are used, but older types continue to work to ensure backward compatibility. + For some older case, sim can be a single string and that means that the type is supposed to be 0. + + Size : 2. + + + Type : Scilab list. + + + + + in + + A vector specifying the number and size of the first dimension of regular input ports indexed from top to bottom of the block. If no input port exist in==[]. + + The size can be negative, equal to zero or positive : + + + + + + If a size is less than zero, the compiler will + try to find the appropriate size. + + + + + + + If a size is equal to zero, the compiler will + affect this dimension by added all positive size + found in that vector + + + + + + If a size is greater than zero, then the size is + explicitly given. + + + + + + + + + Size : number of regular input ports. + + + Type : column vector of integer numbers. + + + + + in2 + + A vector specifying the second dimension of regular input ports indexed from top to bottom of the block. + in with in2 formed then the regular input sizes matrix. + For compatibility, this dimension can stay empty ([]). + That means that the dimensions of input ports will be in,1 + The size can be negative, equal to zero or positive : + + + + + + If a size is less than zero, the compiler will + try to find the appropriate size. + + + + + + + If a size is equal to zero, the compiler will + affect this dimension by added all positive size + found in that vector. + + + + + + + If a size is greater than zero, then the size is + explicitly given. + + + + + + + + + Size : number of regular input ports. + + + Type : column vector of integer numbers. + + + + + intyp + + A vector specifying the types of regular input ports. + Its sizes is equal to the sizes of in. + The types of regular input ports can be : + + + + + 1 real matrix, + + + + 2 complex matrix, + + + + 3 int32 matrix, + + + + 4 int16 matrix, + + + + 5 int8 matrix, + + + + 6 uint32 matrix, + + + + 7 uint16 matrix, + + + + 8 uint8 matrix. + + + + + + + + + Size : number of regular input ports. + + + Type : column vector of integer numbers. + + + + + out + + + A vector specifying the number and size of the first + dimension of regular output ports indexed from top to + bottom of the block. If no output port exist out==[]. + + + The size can be negative, equal to zero or positive : + + + + + + If a size is less than zero, the compiler will + try to find the appropriate size. + + + + + + + If a size is equal to zero, the compiler will + affect this dimension by added all positive size + found in that vector + + + + + + If a size is greater than zero, then the size is + explicitly given. + + + + + + + + + Size : number of regular output ports. + + + Type : column vector of integer numbers. + + + + + out2 + + A vector specifying the second dimension of regular output ports indexed from top to bottom of the block. + out with out2 formed then the regular output sizes matrix. + For compatibility, this dimension can stay empty ([]). That means that the dimensions of output ports will be out,1 + That dimension can be negative, equal to zero or positive : + + + + + + If a size is less than zero, the compiler will + try to find the appropriate size. + + + + + + + If a size is equal to zero, the compiler will + affect this dimension by added all positive size + found in that vector. + + + + + + + If a size is greater than zero, then the size is + explicitly given. + + + + + + + + + Size : number of regular output ports. + + + Type : column vector of integer numbers. + + + + + outtyp + + A vector specifying the types of regular output ports. + Its sizes is equal to the sizes of out. + The types of regular output ports can be : + + + + + 1 real matrix, + + + + 2 complex matrix, + + + + 3 int32 matrix, + + + + 4 int16 matrix, + + + + 5 int8 matrix, + + + + 6 uint32 matrix, + + + + 7 uint16 matrix, + + + + 8 uint8 matrix. + + + + + + + + + Size : number of regular output ports. + + + Type : column vector of integer numbers. + + + + + evtin + + A vector specifying the number and sizes of activation inputs. Currently activation ports can be only of size one. + If no event input port exists evtin must be equal to []. + + Size : number of input event ports. + + + Type : column vector of integer numbers. + + + + + evtout + + A vector specifying the number and sizes of activation outputs. + Currently activation ports can be only of size one. + If no event output port exists evtout must be equal to []. + + Size : number of output event ports. + + + Type : column vector of integer numbers. + + + + + state + + Vector containing initial values of continuous-time state. + Must be [] if no continuous state. + + Size : number of continuous-time state. + + + Type : column vector of real numbers. + + + + + dstate + + Vector containing initial values of discrete-time state. + Must be [] if no discrete state. + + Size : number of discrete-time state. + + + Type : column vector of real numbers. + + + + + odstate + + List containing initial values of objects state. + Must be list() if no objects state. + + Objects state can be any types of scilab variable. + + + In the computational function case of type 4 (C blocks) + only elements containing matrix of real, complex, + int32, int16 ,int8 ,uint32, uit16 and uint8 will be correctly + provided for readind/writing. + + + + + Size : number of objects state. + + + Type : scilab list of scilab objects. + + + + + rpar + + The vector of floating point block parameters. + Must be [] if no floating point parameters. + + Size : number of real parameters. + + + Type : column vector of real numbers. + + + + + ipar + + The vector of integer block parameters. + Must be [] if no integer parameters. + + Size : number of integer parameters. + + + Type : column vector of integer numbers. + + + + + opar + + List of objects block parameters. Must be list() if no objects parameters. + + Objects parameters can be any types of scilab variable. + + + In the computational function case of type 4 (C blocks) + only elements containing matrix of real, complex, + int32, int16 ,int8 ,uint32, uit16 and uint8 will be correctly + provided for reading. + + + + + Size : number of objects parameters. + + + Type : list of scilab object. + + + + + blocktype + + Character that can be set to 'c' or 'd' indifferently for standard blocks. 'x' is used if we want to force the computational function to be called during the simulation phase even if the block does not contribute to computation of the state derivative. + 'l', 'm' and 's' are reserved. Not to be used. + + Size : 1. + + + Type : Character. + + + + + firing + + Vector of initial event firing times of size equal to the number of activation output ports (see evout). It contains output initial event dates (Events generated before any input event arises). Negative values stands for no initial event on the corresponding port. + Size : number of output event ports. + + + Type : column vector of real numbers. + + + + + dep_ut + + Boolean vector [dep_u, dep_t]. + + + + + + + dep_t + + + true if block is always active. + + + Output depends continuously of the time. + For instance, the GENSIN_f block computes y=sin(t) so dep_ut=[%f %t]. + + + + + dep_u + + + true if block has direct feed-through, + i.e., at least one of the outputs depends + directly (not through the states) on one + of the inputs. + In other words, when the computational + function is called with flag 1, the value + of an input is used to compute the output. + For instance, the SUM_f block computes y=u1+u2 so dep_ut=[%t %f]. + + + + + + + + + Size : 2. + + + Type : Boolean vector. + + + + + label + + String that defines a label. It can be used to identify a block in order to access or modify its parameters during simulation. + + Size : 1. + + + Type : string. + + + + + nzcross + + Number of zero-crossing surfaces. + + Size : Number of zero-crossing surfaces. + + + Type : column vector of integer numbers. + + + + + nmode + + Length of the mode register. Note that this gives the size of the vector mode and not the total number of modes in which a block can operate in. Suppose a block has 3 modes and each mode can take two values, then the block can have up to 23=8 modes. + + Size : Number of modes. + + + Type : column vector of integer numbers. + + + + + equations + + Used in case of implicit blocks. + Data structure of type modelica which contains modelica code description if any. That list contains four entries : + + + + + + model + + + a string given the name of the file that contains + the modelica function. + + + + + + + + inputs + + + a column vector of strings that contains the names of + the modelica variables used as inputs. + + + + + + + + outputs + + + a column vector of strings that contains the names of + the modelica variables used as outputs. + + + + + + + + parameters + + + a list with two entries. The first is a vector of strings + for the name of modelica variable names used as parameters + and the second entries is a list that contains the value of + parameters. + + + Names of modelica states can also be informed with + parameters. In that case a third entry is used to do the + difference between parameters and states. + + + For i,e : + mo.parameters=list(['C','v'],list(C,v),[0,1]) + means that 'C' is a parameter(0) of value C, and 'v' + is a state(1) with initial value v. + + + + + + + + + Size : 5. + + + Type : scilab list. + + + + + uid + + Unique identifier string of the block (2^16 per host) + This identifier will be only set using the Xcos GUI. To set a specific value at bloc allocation, use the following code: + + jimport("java.rmi.server.UID"); + juid = jnewInstance("java.rmi.server.UID"); + uid = juid.toString() + + + Size : 1x1. + + + Type : String. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_model.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/CHAPTER b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/CHAPTER new file mode 100755 index 000000000..ffdb52716 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/CHAPTER @@ -0,0 +1 @@ +title = Compilation/Simulation diff --git a/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_cpr.xml b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_cpr.xml new file mode 100755 index 000000000..21aea0efd --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_cpr.xml @@ -0,0 +1,123 @@ + + + + + scicos_cpr + Compiled Scicos structure + + + Module + + + + xcos + + + + + + cpr + + The Scilab object cpr + contains + the result of the compilation. + + + That structure includes fields state, sim, + + cor and corinv. + + + + + + + Size : 5. + + + Type : scilab list. + + + + + + + + state + + Scilab typed list of type xcs. It contains all the states of the model, that is, everything than can evolve during the simulation. + state contains x, z, oz, iz, tevts, evtspt, pointi and outtb. + + Size : 9. + + + Type : scilab tlist. + + + + + sim + + Scilab typed list of type scs. It contains static arrays coming from the result of the compilation. That arrays does not evolve during the simulation. + + Size : 33. + + + Type : scilab tlist. + + + + + cor + + It is a list with same recursive structure as scs_m. Each leaf contains the index of associated block in sim data structure. + Size : number of objects in scs_m. + + + Type : scilab list. + + + + + corinv + + corinv(i) is the path of i th block defined in sim data structure in the scs_m data structure. + + Size : number of blocks in the compiled structre. + + + Type : scilab list. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_cpr.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_sim.xml b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_sim.xml new file mode 100755 index 000000000..114a84d54 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_sim.xml @@ -0,0 +1,455 @@ + + + + + scicos_sim + Define a sim structure + + + Module + + + + xcos + + + + + + sim + + Scilab typed list of type scs. It contains + static arrays coming from the result of the + compilation. That arrays does not evolve + during the simulation. + + + + + + + Size : 33. + + + Type : scilab tlist. + + + + + + + + funs + + A list containing names of the computational functions or scilab functions. + + Size : number of blocks. + + + Type : list of strings and/or scilab function. + + + + + xptr + + A vector pointer to the continuous time state register x. The continuous-time state of block i is state.x(sim.xptr(i):sim.xptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + zptr + + A vector pointer to the discrete time state register z. The discrete-time state of block i is state.z(sim.zptr(i):sim.zptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + ozptr + + A vector pointer to the object discrete state register oz. The object discrete state of block i is state.oz(sim.ozptr(i):sim.ozptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + zcptr + + A vector pointer to the zero-crossing surfaces. + register. That vector gives by block the used number of the zero-crossing. + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + inpptr + + (sim.inpptr(i+1)-sim.inpptr(i)) gives the number of regular input ports of the i block. + inpptr(i) points to the beginning of ith block inputs within the indirection table inplnk. + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + outptr + + (sim.outptr(i+1)-sim.outptr(i)) gives the number of regular ouyput ports of the i block. + outptr(i) points to the beginning of ith block outputs within the indirection table outlnk. + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + inplnk + + (cpr.sim.inplnk(cpr.sim.inpptr(i)-1+j)) is the index of the link connected to the jth input port of the ith block where j goes from 1 to (cpr.sim.inpptr(i+1)-cpr.sim.inpptr(i)). + + Size : total number of regular input port. + + + Type : column vector of integers. + + + + + outlnk + + (cpr.sim.outlnk(cpr.sim.outptr(i)-1+j)) is the index of the link connected to the jth output port of the ith block where j goes from 1 to (cpr.sim.outptr(i+1)-cpr.sim.outptr(i)). + + Size : total number of regular output port. + + + Type : column vector of integers. + + + + + rpar + + Vector of real parameters that is obtained by concatenating the real parameters registers of all the blocks. + + Size : total number of real parameters. + + + Type : column vector of real numbers. + + + + + rpptr + + A vector pointer to the real parameters register rpar. The real parameters of block i are sim.rpar(sim.rpptr(i):sim.rpptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of integer. + + + + + ipar + + Vector of integer parameters that is obtained by concatenating the integer parameters registers of all the blocks. + + Size : total number of integer parameters. + + + Type : column vector of integer. + + + + + ipptr + + A vector pointer to the integer parameters register ipar. The integer parameters of block i are sim.ipar(sim.ipptr(i):sim.ipptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of real numbers. + + + + + opar + + List of object parameters that is obtained by concatenating the list of object parameters of all the blocks. + + Size : total number of object parameters. + + + Type : list of scilab objects. + + + + + opptr + + A vector pointer to the object parameters list opar. The object parameters of block i are sim.opar(sim.opptr(i):sim.opptr(i+1)-1). + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + clkptr + + A vector pointer to output activation ports. + (cpr.sim.clkptr(i):cpr.sim.clkptr(i+1)-1) gives the number of output event ports of the block i. + + Size : number of blocks + 1. + + + Type : column vector of integers. + + + + + ordptr + + A vector pointer to ordclk designating the part of ordclk corresponding to a given activation. + (cpr.sim.ordptr(i):cpr.sim.ordptr(i+1)-1) points to the region within ordclk indicates the number of blocks activated by the output event ports numbered i. + + Size : number of sources of activation + 1. + + + Type : column vector of integers. + + + + + execlk + + Unused. + + Size : - + Type : matrix of real. + + + + + ordclk + + A matrix associated to blocks activated by output activation ports. The first column contains the block number, and the second, the event code by which the block should be called. + + Size : total number of blocks summed by source of activations. + + + Type : matrix of integers. + + + + + cord + + A matrix associated to always active blocks. + The first column contains the block number, and the second, the event code by which the block should be called. + + Size : ncord. + + + Type : matrix of integers. + + + + + oord + + Subset of cord. Blocks of that matrix have outputs which affect computation of continuous state derivatives. + + Size : noord. + + + Type : matrix of integers. + + + + + zord + + Subset of zord. Blocks of that matrix have outputs which affect computation of zero-crossing surfaces. + + Size : nzord. + + + Type : matrix of integers. + + + + + critev + + A vector of size equal to the number of activations and containing zeros and ones. The value one indicates that the activation is critical in the sense that the continuous-time solver must be cold restarted. + + Size : number of source of activation. + + + Type : column vector of integers. + + + + + nb + + Number of blocks. Note that the number of blocks may differ from the original number of blocks in the diagram because c_pass2 may duplicate some conditional blocks. + + Size : 1. + + + Type : integer. + + + + + ztyp + + A vector of size equal to the number of blocks. + A 1 entry indicates that the block may have zero-crossings, even if it does not in the context of the diagram. Usually not used by the simulator. + + Size : number of blocks. + + + Type : column vector of integers. + + + + + nblk + + Not used. Set to nb. + + Size : 1 + Type : integer. + + + + + ndcblk + + Not used. + + Size : - + Type : integer. + + + + + subscr + + Not used. + + Size : 0 + Type : empty real. + + + + + funtyp + + A vector of size equal to the number of blocks indicating the type of the computational function of the block. Block type can be 0 through 5. + Currently only type 4 (C language) and type 5 (Scilab language) computational functions should be used. But older blocks can also be used. + + Size : number of blocks. + + + Type : column vector of integer. + + + + + iord + + A matrix associated to blocks that must be activated at the start of the simulation. This includes blocks inheriting from constant blocks and always active blocks. + + Size : niord. + + + Type : matrix of integers. + + + + + labels + + A string vector of size equal to the number of blocks containing block labels. + + Size : numbers of blocks. + + + Type : column vector of strings. + + + + + modptr + + A vector pointer to the block modes. + + Size : number of blocks + 1. + + + Type : column vector of integer. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_sim.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_state.xml b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_state.xml new file mode 100755 index 000000000..a625020c6 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/compilation_simulation/scicos_state.xml @@ -0,0 +1,171 @@ + + + + + scicos_state + Define a state structure + + + Module + + + + xcos + + + + + + state + + Scilab typed list of type xcs. It contains all + the states of the model, that is, everything than + can evolve during the simulation. + + + state contains x, z, oz, iz, + tevts, evtspt, pointi and outtb. + + + + + + + Size : 9. + + + Type : scilab tlist. + + + + + + + + x + + The continuous-time state register, which is obtained by concatenating the continuous-time states of all the blocks. + + Size : total of all the size of continuous-time state registers. + + + Type : column vector of real numbers. + + + + + z + + The discrete-time state register, which is obtained by concatenating the discrete-time states of all the blocks. + + Size : total of all the size of discrete-time state registers. + + + Type : column vector of real number. + + + + + oz + + The list of the object discrete-time state, which is obtained by concatenating the object discrete-time states of all the blocks. + + Size : total of all the size of object state. + + + Type : list of scilab object. + + + + + iz + + Vector of size equal to the number of blocks. + That vector is used to store pointers of the working state register (work). If a block needs to allocate memory at initialization (flag 4), the associated pointer is saved here. + + Size : number of blocks. + + + Type : column vector of real numbers. + + + + + tevts + + Vector of size equal to the number of activation sources. It contains the scheduled times for programmed activations in evtspt. + + Size : number of activation sources. + + + Type : column vector of integers. + + + + + evtspt + + Vector of size equal to the number of activation sources. It is an event scheduler. + + Size : number of activation sources. + + + Type : column vector of integers. + + + + + pointi + + The number of the next programmed event. + + Size : 1. + + + Type : integer. + + + + + outtb + + Scilab list containing all output registers of blocks. Each element of that list contains typed matrix-based data. + + Size : number of regular output ports. + + + Type : list of scilab matrix. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_state.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/diagram/CHAPTER b/modules/xcos/help/en_US/scilab_data_structures/diagram/CHAPTER new file mode 100755 index 000000000..87a5ba36c --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/diagram/CHAPTER @@ -0,0 +1 @@ +title = Diagram diff --git a/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_diagram.xml b/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_diagram.xml new file mode 100755 index 000000000..35d683e11 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_diagram.xml @@ -0,0 +1,113 @@ + + + + + scicos_diagram + Define a scs_m structure + + + Module + + + + xcos + + + + + + diagram + + Size : 4. + + + Type : scilab list. + + + + + + + + props + + Diagram properties. + This entry contains various information such some main diagram initials values. + + This variable is a tlist of type + and + contains wpar, title, tol, tf, context, + options and doc. + + + + + Size : 11. + + + Type : Scilab tlist of type . + + + + + objs + + List of objects included in the Xcos diagram. + + The objects used in Xcos are block, link and Text. + + The objects can also be deleted object data structure. + Deleted object data structure is marked list('Deleted'). + + Size : total number of objects in the diagram. + + + Type : Scilab tlist of type, or Text. + + + + + version + + A string that gives the version of the Xcos diagram. + This is used to provide compatibility with old diagram. + Note that you can get the current version of Xcos by using the entry 'About Xcos' in the help menu or by using the function get_scicos_version(). + + Size : 1. + + + Type : String. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_diagram.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_params.xml b/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_params.xml new file mode 100755 index 000000000..7a9d8b488 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/diagram/scicos_params.xml @@ -0,0 +1,391 @@ + + + + + scicos_params + Define a param structure + + + Module + + + + xcos + + + + + + params + + Size : 11. + + + Type : scilab list. + + + + + + + + wpar + + This vector is not currently used. + It may be used in the future to code window sizes of the editor. + + Size : 6. + + + Type : column vector or real. + + + + + title + + Vector of character strings, where the first one is the diagram title and default name of save file name, and the second one is the path of the directory of the file name. + + Size : 2. + + + Type : row vector of strings. + + + + + tol + + + A vector containing simulation parameters including + various tolerances used by the solver: + + + + + + + atol + + + Integrator absolute tolerance for the numerical solver. + + + + + + + + rtol + + + Integrator relative tolerance for the numerical solver. + + + + + + + + ttol + + + Tolerance on time. + + + If an integration period is less + than ttol, the numerical solver is not called. + + + + + + + + deltat + + + Maximum integration time interval. + + + If an integration period is larger than + deltat, the numerical solver is called more than + once in such a way that for each call the integration + period remains below deltat + + + + + + + scale + + + Real-time scaling; the value 0 corresponds to no + real-time scaling. + + + It associates a Scicos simulation time to the real + time in seconds. + + + A value of 1 means that each Scicos unit of time + corresponds to one second. + + + + + + + + solver + + + Choice of numerical solver. + + + The value 0 implies an ODE solver and 100 + implies a DAE solver. + + + + + + + + hmax + + + Maximum step size for the numerical solver. + + + 0 means no limit. + + + + + + + + + Size : 7. + + + Type : column vector of real. + + + + + tf + + Final time simulation. + The simulation stops at this time. + The default value is 100000. + + Size : 1. + + + Type : real. + + + + + context + + A vector of strings containing Scilab instructions defining Scilab variables to be used inside block's dialog box as symbolic parameters. + All valid Scilab instructions can be used and also comments. + + Size : number of lines of the context. + + + Type : column vector of strings. + + + + + void1 + + unused field. + + Size : -. + + + Type : -. + + + + + options + + Scilab object of type scsopt defining graphical properties of the editor such as background color and link color. + + The fields are the following: + + + + + + + 3D + + + A list with two entries. The first one is a boolean + indicating whether or not blocks should have 3D aspect. + + + The second entry indicates the color in the current colormap + to be used to create the 3D effect. + + + The default is 33 which corresponds to gray added by + Scicos to the standard colormap, which contains 32 colors. + + + The default value is list(%t,33). + + + + + + + + Background + + + Vector with two entries: background and + foreground colors. + + + The default value is [8,1]. + + + + + + + + link + + + Default link colors for regular and activation links. + + + These colors are used only at link construction. + + + Changing them does not affect already constructed links. + + + The default value is [1,5], which corresponds to black and + red if the standard Scilab colormap is used. + + + + + + + + ID + + + A list of two vectors including font number and sizes. + + + The default value is [5,1],[4,1]. + + + + + + + + Cmap + + + An n,3 matrix containing RGB values of colors + to be added to the colormap. + + + The default value is, [0.8,0.8,0.8] i.e., the color gray. + + + + + + + + + Size : 6. + + + Type : scilab tlist of type scsopt. + + + + + void2 + + unused field. + + Size : -. + + + Type : -. + + + + + void3 + + unused field. + + Size : -. + + + Type : -. + + + + + doc + + User defined diagram documentation structure. + + Size : 1. + + + Type : Strings. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_params.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_data_structures/links/CHAPTER b/modules/xcos/help/en_US/scilab_data_structures/links/CHAPTER new file mode 100755 index 000000000..209ea6fbb --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/links/CHAPTER @@ -0,0 +1 @@ +title = Links diff --git a/modules/xcos/help/en_US/scilab_data_structures/links/scicos_link.xml b/modules/xcos/help/en_US/scilab_data_structures/links/scicos_link.xml new file mode 100755 index 000000000..a0e4c5409 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_data_structures/links/scicos_link.xml @@ -0,0 +1,147 @@ + + + + + scicos_link + Define a link structure + + + Module + + + + xcos + + + + + + link + + Size : 8. + + + Type : scilab list. + + + + + + + + xx + + Vector of x coordinates of the link path. + A link is defined as a polyline line. + + Size : number of points of the link. + + + Type : column vector of real numbers. + + + + + yy + + Vector of y coordinates of the link path. + A link is defined as a polyline line. + + Size : number of points of the link. + + + Type : column vector of real numbers. + + + + + id + + Character string, the link identification. + + Size : 1. + + + Type : string. + + + + + thick + + Vector of size two defining line thickness. + + Size : 2. + + + Type : row vector of integers. + + + + + ct + + The first entry of this vector designates the color, and the second, the nature of the link. The second entry is 1 for a regular link, -1 for an activation link, and 2 for an implicit link. + + Size : 2. + + + Type : row vector of integers. + + + + + from + + Vector of size three including the block number, port number, and port type (0 for output, 1 for input) at the origin of the link. Note that the third entry may be 1 if the link is implicit; otherwise it is zero. + + Size : 3. + + + Type : row vector of integers. + + + + + to + + Vector of size three including the block number, port number, and port type (0 for output, 1 for input) at the destination of the link. Note that the third entry may be 1 if the link is implicit; otherwise it is zero. + + Size : 3. + + + Type : row vector of integers. + + + + + + File content + + + SCI/modules/scicos/macros/scicos_scicos/scicos_link.sci + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/CHAPTER b/modules/xcos/help/en_US/scilab_utilities_functions/CHAPTER new file mode 100755 index 000000000..2fad47347 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/CHAPTER @@ -0,0 +1 @@ +title = Scilab Utilities Functions diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/MODELICA_USER_LIBS.xml b/modules/xcos/help/en_US/scilab_utilities_functions/MODELICA_USER_LIBS.xml new file mode 100755 index 000000000..5ab417f84 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/MODELICA_USER_LIBS.xml @@ -0,0 +1,70 @@ + + + + + %MODELICA_USER_LIBS + + Specify the paths of the directories containing the Modelica class definition files + + + + Description + + This variable is used to specify where are the Modelica class definition files + + + If the user wants to define his own Modelica blocks, Modelica files + describing the blocks must be indicated. The variable %MODELICA_USER_LIBS has + to be declared as global before launching Xcos. + + + + Example + + // Get the current Modelica path and directory + [modelica_path, modelica_directory] = getModelicaPath() + + // To define user's Modelica blocks + // path of the directory containing the user's Modelica files + // It has to be global to be accessed from Atoms toolbox + global %MODELICA_USER_LIBS + %MODELICA_USER_LIBS = SCI + "/modules/xcos/modelica_library"; + + // Launch Xcos + xcos(); + // Load the diagram with Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + // To add another Modelica folder + %MODELICA_USER_LIBS = [%MODELICA_USER_LIBS , SCI + "/modules/xcos/my_modelica_blocks/Electrical_network"]; + + // Launch Xcos + xcos(); + // Load the diagram with Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + + + + See Also + + + + getModelicaPath: get the Modelica directory path needed by Xcos diagram containing Modelica blocks + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/block_parameter_error.xml b/modules/xcos/help/en_US/scilab_utilities_functions/block_parameter_error.xml new file mode 100755 index 000000000..5a65e9f44 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/block_parameter_error.xml @@ -0,0 +1,127 @@ + + + + + block_parameter_error + + Displays a parameter input error box for a Xcos block + + + + Calling Sequence + + block_parameter_error(inform, expected) + + + + Arguments + + + inform: + + a string, type of error + + + + expected: + + a string, the expected value or the range of expected values. + + + + + + Description + + The goal of this function is to give a precise information to an user on his error when he inputs a block parameter. The user information is displayed on two lines provided respectively by the parameters: + + + + + inform: it is reserved to the information for the + user on his mistake. The better way to do this is to do a recall of the parameter name and of + the wrong value provided by the user. + + + + + + expected: a positive information to guide the user + to be in the way of the error correction. By example, if the parameter is an integer, the + message may be "Must be an integer", for a range of values we can use a message like that: + + + + + + + + Examples + + The example below is a simple use case for the function. The user inputs a value + in the parameter dialog box. If the value is not valid, the example displays + this error box: + + + + + + + + + 8 then + block_parameter_error( .. + msprintf("Wrong values for ''Data Type'' parameter: %d.", Datatype), .. + msprintf("Must be in the interval %s.", "[3, 8]") .. + ); + ok = %f; + + else // Parameter is valid, continue the job + ok = %t; + print(%io(2), "Data Type parameter is valid"); + end + end + ]]> + + + See also + + + x_mdialog + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/buildouttb.xml b/modules/xcos/help/en_US/scilab_utilities_functions/buildouttb.xml new file mode 100755 index 000000000..63a7ebe4a --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/buildouttb.xml @@ -0,0 +1,84 @@ + + + + + buildouttb + Build of the sublist %cpr.state.outtb + + + Calling Sequence + [outtb]=buildouttb(lnksz,lnktyp) + + + Module + + + + xcos + + + + + + Description + + Build an initialized outtb list. + + + + + + Arguments + + + + outtb : a list of size n. + + + + + lnksz : That parameter gives the size of Scilab object in outtb. + + This matrix of integer or real numbers can have a n,2 or 2,n size. + + + + lnktyp : That parameters gives the type of Scilab object in outtb : + + 1 : double + 2 : complex + 3 : int32 + 4 : int16 + 5 : int8 + 6 : uint32 + 7 : uint16 + 8 : uint8 + else : double + This matrix of integer or real numbers can have a n,1 or 1,n size. + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/getModelicaPath.xml b/modules/xcos/help/en_US/scilab_utilities_functions/getModelicaPath.xml new file mode 100755 index 000000000..037ec1855 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/getModelicaPath.xml @@ -0,0 +1,93 @@ + + + + + getModelicaPath + Get the Modelica directory path needed by Xcos diagram + containing Modelica blocks + + + + Calling Sequence + [modelica_path, modelica_directory] = getModelicaPath() + + + Description + This function is used to know where are the Modelica files used to + define Xcos Modelica blocks. + + If the user wants to define his own Modelica blocks, Modelica files + describing the blocks must be indicated. The variable %MODELICA_USER_LIBS has + to be declared as global before launching Xcos. + + + + Arguments + + + + modelica_path: a string providing + the absolute path of the Modelica directory containing the defining + blocks Modelica files. + + + + + modelica_directory: a string + providing the name of the Modelica directory where are created the files + needed for the simulation. + + + + + + Example + + // Get the current Modelica path and directory + [modelica_path, modelica_directory] = getModelicaPath() + + // To define user's Modelica blocks + // path of the directory containing the user's Modelica files + // It has to be global to be accessed from Atoms toolbox + global %MODELICA_USER_LIBS + %MODELICA_USER_LIBS = SCI + "/modules/xcos/modelica_library"; + + // Launch Xcos + xcos(); + // Load the diagram with Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + // To define user's Modelica blocks + // paths of the directory containing the user's Modelica files + %MODELICA_USER_LIBS = [%MODELICA_USER_LIBS , SCI + "/modules/xcos/my_modelica_blocks/Electrical_network"]; + + // Launch Xcos + xcos(); + // Load the diagram with Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + + + + See Also + + + + MODELICA_USER_LIBS: specify the paths of the directories containing the Modelica class definition files + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/importXcosDiagram.xml b/modules/xcos/help/en_US/scilab_utilities_functions/importXcosDiagram.xml new file mode 100755 index 000000000..14adfe908 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/importXcosDiagram.xml @@ -0,0 +1,60 @@ + + + + + importXcosDiagram + Import a Xcos diagram on Scilab + + + Calling Sequence + [result]=importXcosDiagram(filename) + + + Module + + + + xcos + + + + + + Description + Import a Xcos file into Scilab. + + + Examples + + filename=SCI+"/modules/xcos/demos/demo_Datatype.zcos"; + [result]=importXcosDiagram(filename) + + + + Arguments + + + + result: The status of the + operation. + + + + + filename: The Xcos file to + load. + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/loadScicos.xml b/modules/xcos/help/en_US/scilab_utilities_functions/loadScicos.xml new file mode 100755 index 000000000..6d30ce8ce --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/loadScicos.xml @@ -0,0 +1,71 @@ + + + + + loadScicos + Load the Xcos simulation native library. + + + Calling Sequence + loadScicos() + + + Module + + + + xcos + + + + + + Description + The Xcos simulation need a native shared library. This call force the loading this library + + + Arguments + None + + + Example + loadScicos(); + + + See Also + + + + + xcos - Hybrid dynamic systems modeler and simulator. + + + + + + + loadXcosLibs - Load the blocks macros libraries. + + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/loadXcosLibs.xml b/modules/xcos/help/en_US/scilab_utilities_functions/loadXcosLibs.xml new file mode 100755 index 000000000..e8e8bd375 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/loadXcosLibs.xml @@ -0,0 +1,75 @@ + + + + + loadXcosLibs + Load most of the Xcos macros + + + Calling Sequence + loadXcosLibs() + + + Module + + + + xcos + + + + + + Description + Import some useful Xcos macros into Scilab. + + + Examples + + + + + See Also + + + + + xcos - Hybrid dynamic systems modeler and simulator. + + + + + + + loadScicos - Load the simulation native libraries. + + + + + + + + History + + + 5.3.1 + Introduced to replace loadScicosLibs. + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/scicos_debug.xml b/modules/xcos/help/en_US/scilab_utilities_functions/scicos_debug.xml new file mode 100755 index 000000000..e0d3c2719 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/scicos_debug.xml @@ -0,0 +1,97 @@ + + + + + scicos_debug + Set the level of the Scicos debugging + + + Calling Sequence + scicos_debug(level) + level = scicos_debug() + + + + Module + + + + xcos + + + + + + Description + + This Scilab function is used to set the debug level of a Scicos simulation. + + + One can used it in the "Calc" mode of the Scicos editor or as an instruction in a Scilab block or in an interfacing function. + + + + Examples + + + + Arguments + + + + level : set/get the current level of the Scicos simulation debugging. + + + + + 0: + no debugging. + + + + + 1: + light debugging information printout. + + + + + 2: + more information printout and execution of Debug Block if any in diagram. + + + + + 3: + silent debugging mode (no information printout) and execution of Debug Block if any in diagram. + + + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/scicos_getvalue.xml b/modules/xcos/help/en_US/scilab_utilities_functions/scicos_getvalue.xml new file mode 100755 index 000000000..ab9ce06d1 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/scicos_getvalue.xml @@ -0,0 +1,153 @@ + + + + scicos_getvalue + xwindow dialog for Xcos + + + Calling Sequence + [ok,x1,..,x14]=scicos_getvalue(desc,labels,typ,ini) + + + Arguments + + + desc + + column vector of strings, dialog general comment + + + + labels + + + n column vector of strings, labels(i) is the label of the ith required value + + + + + typ + + + list(typ_1,dim_1,..,typ_n,dim_n) + + + + typ_i + + defines the type of the ith value, may have the following values: + + + "mat" + + for constant matrix + + + + "col" + + for constant column vector + + + + "row" + + for constant row vector + + + + "vec" + + for constant vector + + + + "intvec" + + for constant vector with integer values i.e int(x) == x + + + + "str" + + for string + + + + "lis" + + for list + + + + + + + dim_i + + defines the size of the ith value it must be an integer or a 2-vector of integer, -1 stands for undefined dimension + + + + + + + ini + + + n column vector of strings, ini(i) gives the suggested response for the ith required value + + + + + ok + + boolean ,%t if ok button pressed, %f if cancel button pressed + + + + xi + + + contains the ith value if ok=%t. If left hand side has one more xi than required values the last xi contains the vector of answered strings. + + + + + + + Description + + This function encapsulate x_mdialog function with error checking, + evaluation of numerical response, ... + + + + Remarks + + All valid expressions can be used as answers; for matrices and vectors getvalues automatically adds [ ] around the given answer before numeric evaluation. + + + + Examples + + + + See Also + + + x_mdialog + + + x_matrix + + + x_dialog + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/standard_inputs.xml b/modules/xcos/help/en_US/scilab_utilities_functions/standard_inputs.xml new file mode 100755 index 000000000..27bcd161b --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/standard_inputs.xml @@ -0,0 +1,81 @@ + + + + standard_inputs + Get the position of the input ports of a block in Xcos editor. + + + Calling Sequence + [x,y,typ] = standard_inputs(block) + + + + Arguments + + + block + + xcos block. + + + + x + + + x position of the port. When multiple ports are described, x is a float vector of x positions. + + + + + y + + + y position of the port. When multiple ports are described, y is a float vector of y positions. + + + + + typ + + + determine the type of ports. It can take the following values: -1 if this is a clock port; 1 if this is an explicit port; 2 if this is an implicit port. When multiple ports are described, typ is a vector. + + + + + + + Description + + This Scilab function was used by the Scicos blocks interfacing functions + to get the position (x, y) of each input port. + + + + This function is not useful for Xcos block interfacing functions anymore. + The Xcos interfacing functions are not called with job="getorigin" anymore. + + + + + Example + + + + See Also + + + standard_outputs + + + standard_origin + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/standard_origin.xml b/modules/xcos/help/en_US/scilab_utilities_functions/standard_origin.xml new file mode 100755 index 000000000..16e0130ff --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/standard_origin.xml @@ -0,0 +1,67 @@ + + + + standard_origin + Get the position of a block in the Xcos editor. + + + Calling Sequence + [x,y] = standard_origin(block) + + + + Arguments + + + block + + xcos block. + + + + x + + x position of the block. + + + + y + + y position of the block. + + + + + + Description + + This Scilab function was used by the Scicos blocks interfacing functions + to get the origin position (x, y) of a Xcos block. + + + + This function is not useful for Xcos block interfacing functions anymore. + The Xcos interfacing functions are not called with job="getinputs" anymore. + + + + + Example + + + + See Also + + + standard_inputs + + + standard_outputs + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/standard_outputs.xml b/modules/xcos/help/en_US/scilab_utilities_functions/standard_outputs.xml new file mode 100755 index 000000000..301e7fdd4 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/standard_outputs.xml @@ -0,0 +1,81 @@ + + + + standard_outputs + Get the position of the output ports of a block in Xcos editor. + + + Calling Sequence + [x,y,typ] = standard_outputs(block) + + + + Arguments + + + block + + xcos block. + + + + x + + + x position of the port. When multiple ports are described, x is a float vector of x positions. + + + + + y + + + y position of the port. When multiple ports are described, y is a float vector of y positions. + + + + + typ + + + determine the type of ports. It can take the following values: -1 if this is a clock port; 1 if this is an explicit port; 2 if this is an implicit port. When multiple ports are described, typ is a vector. + + + + + + + Description + + This Scilab function was used by the Scicos blocks interfacing functions + to get the position (x, y) of each output port. + + + + This function is not useful for Xcos block interfacing functions anymore. + The Xcos interfacing functions are not called with job="getoutputs" anymore. + + + + + Example + + + + See Also + + + standard_inputs + + + standard_origin + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/var2vec.xml b/modules/xcos/help/en_US/scilab_utilities_functions/var2vec.xml new file mode 100755 index 000000000..e72524389 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/var2vec.xml @@ -0,0 +1,104 @@ + + + + + var2vec + Transform a scilab variable in a vector of double + + + Calling Sequence + [vec]=var2vec(var) + + + Module + + + + xcos + + + + + + Description + + var2vec / vec2var functions are used inside the interfacing functions of Scilab blocks to give the possibility to the user to handle Scilab objects with the real parameter (rpar) and with the discrete state register (z). + + + + + + + Arguments + + + + var : Input parameter. Can be any types of Scilab objects. + + + + + vec : Output parameter. A vector of real numbers. + + + + + + Example + a=list("cos",[1.1,2]) +a = +a(1) +cos +a(2) +1.1 2. +-->b=var2vec(a) +b = +4.244-314 +1.273-313 +8.488-314 +2.122-314 +4.941-324 +8.488-314 +5.093-313 +2.122-314 +2.122-314 +9.881-324 +1.1 +2. + ]]> + + + See Also + + + + vec2var - Transform a vector of double in a scilab variable (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/vec2var.xml b/modules/xcos/help/en_US/scilab_utilities_functions/vec2var.xml new file mode 100755 index 000000000..c41633ca0 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/vec2var.xml @@ -0,0 +1,110 @@ + + + + + vec2var + Transform a vector of double in a scilab variable + + + Calling Sequence + [var]=vec2var(vec) + + + Module + + + + xcos + + + + + + Description + + var2vec / vec2var functions are used inside the interfacing functions of Scilab blocks to give the possibility to the user to handle Scilab objects with the register of real parameters (rpar) and with the discrete state register (z). + + + + + + + Arguments + + + + vec : Input parameter. A vector of real numbers. + + + + + var : Output parameter. Can be any types of Scilab objects. + + + + + + Example + a=list("cos",[1.1,2]) +a = +a(1) +cos +a(2) +1.1 2. +-->b=var2vec(a) +b = +4.244-314 +1.273-313 +8.488-314 +2.122-314 +4.941-324 +8.488-314 +5.093-313 +2.122-314 +2.122-314 +9.881-324 +1.1 +2. +-->c=vec2var(b) +c = +c(1) +cos +c(2) +1.1 2. + ]]> + + + See Also + + + + var2vec - Transform a scilab variable in a vector of double (Scilab Function) + + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosAddToolsMenu.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosAddToolsMenu.xml new file mode 100755 index 000000000..fbb477f9a --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosAddToolsMenu.xml @@ -0,0 +1,94 @@ + + + + + xcosAddToolsMenu + Add a menu item into the Xcos "Tools" menu. + + + Calling Sequence + xcosAddToolsMenu(label, command) + + + Module + + + + xcos + + + + + + Description + Add a menu into Xcos with a scilab command. The scilab command can assume that there is two variable on the current scilab context : + + + + blk : The selected block. Variable does not exist if nothing is selected. The variable has a scicos_block type. + + + + + scs_m : The whole diagram. The variable has a scicos_diagram type. + + + + This function has been introduced in Scilab 5.4.0. + + + + + + See Also + + + + xcos + + + + + xcosUpdateBlock - Update a block instance + + + + + scicos_block. + + + + + scicos_diagram + + + + + + Authors + + Clément David - Scilab Enterprises + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPal.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPal.xml new file mode 100755 index 000000000..e19716611 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPal.xml @@ -0,0 +1,86 @@ + + + + + xcosPal + Instanciate a new Xcos palette on Scilab. + + + Calling Sequence + + pal = xcosPal(); + pal = xcosPal(name); + pal = xcosPal(scs_m); + pal = xcosPal([], scs_m); + pal = xcosPal(name, scs_m); + + + + + Arguments + + + name: + + string; the optional palette name + + + + scs_m: + + diagram mlist; the optional source diagram + + + + pal: + + palette tlist; the palette instance + + + + + + Description + + Instanciate a new palette diagram. + + + The optional name argument can be used to set a name to the palette. The optional scs_m argument can be used to import diagrams as palettes. + + + + + + Examples + + + + See also + + + xcosPal + + + xcosPalAddBlock + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAdd.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAdd.xml new file mode 100755 index 000000000..a162e4737 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAdd.xml @@ -0,0 +1,87 @@ + + + + + xcosPalAdd + Add a palette to the Scilab/Xcos palette manager. Optional property can be added to set the category of the palette. + + + Calling Sequence + + xcosPalAdd(pal); + xcosPalAdd(pal, category); + status = xcosPalAdd(pal); + status = xcosPalAdd(pal, category); + [status, msg] = xcosPalAdd(pal); + [status, msg] = xcosPalAdd(pal, category); + + + + + Arguments + + + pal: + + palette tlist or path string; the palette to add + + + + category: + + string array; the optional category path to use + + + + status: + + boolean; the status of the operation + + + + msg: + + string; the error message + + + + + + Description + + After setting the blocks into the palette, the user add this function to add a Scilab palette to the Xcos palette manager. + + + The optional category argument can be used to add the palette to a customized category path. If not specified, the root category is used. + + + + + + Examples + + + + See also + + + xcosPal + + + xcosPalAddBlock + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAddBlock.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAddBlock.xml new file mode 100755 index 000000000..caacadbb7 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalAddBlock.xml @@ -0,0 +1,1338 @@ + + + + xcosPalAddBlock + Add a block to a Scilab/Xcos palette instance. Some + optional properties can be added to customize the palette icon + and the style of the block. + + + + Calling Sequence + + pal = xcosPalAddBlock(pal, block) + pal = xcosPalAddBlock(pal, block, pal_block_img) + pal = xcosPalAddBlock(pal, block, [], style) + pal = xcosPalAddBlock(pal, block, pal_block_img, style) + + + + Arguments + + + pal: + + the palette to update + + + + block: + + the block to add to the palette + + + + pal_block_img: + + the block icon to use on the palette + manager (png, jpg, gif). + + + + + style: + + the style to apply to the block + + + + + + Description + This macros add a block instance to a palette. This block + parameter can be an instantiated block or a name + (interface-function) or a path to a saved instance. Some + operations are performed to load this block and check it's + availability so it's interface-function must be loaded on + Scilab. Some temporary files are also generated without full + path arguments. + + The optional pal_block_img argument is generated on the + TMPDIRusing Scilab graphics if + not specified.Be careful that if you use our palette to be + persistent you then need to specify it. Otherwise the generated + image will be deleted at the end of the Scilab session. + + The optional style argument allow the user to determine + the kind of style to be used by this block. This argument can + be typed as a path + string to an image (svg, png, jpg, gif) or a + struct. If it is a string then a + default style value is generated and formatted as a style else + a struct is wrapped to a key-value jgraphx settings. The + following + style + + correspond to jgraphx version 1.4.0.2. These style + keys can change with new version of jgraphx without any + warranty. + + + + JGraphx style keys + + + "opacity" + + + Defines the key for the opacity style. The type + of the value is float and the possible range is + 0-100. + + + + + + "textOpacity" + + + Defines the key for the text opacity style. The + type of the value is float and the possible range is + 0-100. + + + + + + "overflow" + + + Defines the key for the overflow style. Possible + values are + "visible", + "hidden"or + "fill". The default value is + "visible". This value specifies how overlapping vertex + labels are handles. A value of "visible" will show the + complete label. A value of "hidden" will clip the label + so that it does not overlap the vertex bounds. A value + of "fill" will use the vertex bounds for the + label. + + + + + + "orthogonal" + + + Defines if the connection points on either end of + the edge should be computed so that the edge is + vertical or horizontal if possible and if the point is + not at a fixed location. Default is + false. + + + + + + "exitX" + + + Defines the key for the horizontal relative + coordinate connection point of an edge with its source + terminal. + + + + + + "exitY" + + + Defines the key for the vertical relative + coordinate connection point of an edge with its source + terminal. + + + + + + "exitPerimeter" + + + Defines if the perimeter should be used to find + the exact entry point along the perimeter of the + source. The type of the value is + boolean. Default is + true. + + + + + + "entryX" + + + Defines the key for the horizontal relative + coordinate connection point of an edge with its target + terminal. + + + + + + "entryY" + + + Defines the key for the vertical relative + coordinate connection point of an edge with its target + terminal. + + + + + + "entryPerimeter" + + + Defines if the perimeter should be used to find + the exact entry point along the perimeter of the + target. The type of the value is + boolean. Default is + true. + + + + + + "whiteSpace" + + + Defines the key for the white-space style. + Possible values are + "nowrap"and + "wrap". The default value is + "nowrap". This value specifies how + white-space inside a HTML vertex label should be + handled. A value of + "nowrap"means the text will never + wrap to the next line until a linefeed is encountered. + A value of + "wrap"means text will wrap when + necessary. + + + + + + "rotation" + + + Defines the key for the rotation style. The type + of the value is double and the possible range is + 0-360. + + + + + + "fillColor" + + + Defines the key for the fillColor style. The + value is a string expression described on the + color + list + + . + + + + + + "gradientColor" + + + Defines the key for the gradientColor style. The + value is a string expression described on the + color + list + + .This is ignored if no + "fillColor"is defined. + + + + + + "gradientDirection" + + + Defines the key for the gradient direction. The + value is a string expression described on the + direction + list + + .Default is + "south". Generally, and by default, + gradient painting is done from the value of + "fillColor"to the value of + "gradientColor". Taking the example + of + "north", this means + "fillColor"color at the bottom of + paint pattern and + "gradientColor"at top, with a + gradient in-between. + + + + + + "strokeColor" + + + Defines the key for the strokeColor style. The + value is a string expression on the + color + list + + . + + + + + + "separatorColor" + + + Defines the key for the separatorColor style. The + value is a string expression described on the + color + list + + .This style is only used for + swimlaneshapes. + + + + + + "strokeWidth" + + + Defines the key for the strokeWidth style. The + type of the value is float and the possible range is + any non-negative value. The value reflects the stroke + width in pixels. + + + + + + "align" + + + Defines the key for the align style. Possible + values are described on the + alignment + list + + .This value defines how the lines of the + label are horizontally aligned. + "left"mean label text lines are + aligned to left of the label bounds, + "right"to the right of the label + bounds and + "center"means the center of the text + lines are aligned in the center of the label bounds. + Note this value does not affect the positioning of the + overall label bounds relative to the vertex, to move + the label bounds horizontally, use + "labelPosition". + + + + + + "verticalAlign" + + + Defines the key for the verticalAlign style. + Possible values are described on the + alignment + list + + .This value defines how the lines of the + label are vertically aligned. + "top"means the topmost label text + line is aligned against the top of the label bounds, + "bottom"means the bottom-most label + text line is aligned against the bottom of the label + bounds and + "middle"means there is equal spacing + between the topmost text label line and the top of the + label bounds and the bottom-most text label line and + the bottom of the label bounds. Note this value does not + affect the positioning of the overall label bounds + relative to the vertex, to move the label bounds + vertically, use + "verticalLabelPosition". + + + + + + "labelPosition" + + + Defines the key for the horizontal label position + of vertices. Possible values are described on the + alignment + list + + .Default is + "center". The label align defines + the position of the label relative to the cell. + "left"means the entire label bounds + is placed completely just to the left of the vertex, + "right"means adjust to the right and + + "center"means the label bounds are + vertically aligned with the bounds of the vertex. Note + this value does not affect the positioning of label + within the label bounds, to move the label horizontally + within the label bounds, use + "align". + + + + + + "verticalLabelPosition" + + + Defines the key for the vertical label position + of vertices. Possible values are described on the + alignment + list + + .Default is + "middle". The label align defines + the position of the label relative to the cell. + "top"means the entire label bounds + is placed completely just on the top of the vertex, + "bottom"means adjust on the bottom + and + "middle"means the label bounds are + horizontally aligned with the bounds of the vertex. + Note this value does not affect the positioning of label + within the label bounds, to move the label vertically + within the label bounds, use + "verticalAlign". + + + + + + "imageAlign" + + + Defines the key for the align style. Possible + values are described on the + alignment + list + + .The value defines how any image in the + vertex label is aligned horizontally within the label + bounds of a + "label"shape. + + + + + + "imageVerticalAlign" + + + Defines the key for the verticalAlign style. + Possible values are described on the + alignment + list + + .The value defines how any image in the + vertex label is aligned vertically within the label + bounds of a + "label"shape. + + + + + + "image" + + + Defines the key for the image style. Possible + values are any image URL, the type of the value is + String. This is the path to the image to image that is + to be displayed within the label of a vertex. + + + + + + "imageWidth" + + + Defines the key for the imageWidth style. The + type of this value is int, the value is the image width + in pixels and must be greated than + 0. + + + + + + "imageHeight" + + + Defines the key for the imageHeight style The + type of this value is int, the value is the image + height in pixels and must be greater than + 0. + + + + + + "noLabel" + + + Defines the key for the noLabel style. If this is + + truethen no label is visible for a + given cell. The type of the value is + boolean. Default is + false. + + + + + + "noEdgeStyle" + + + Defines the key for the noEdgeStyle style. If + this is + truethen no edge style is applied + for a given edge. The type of the value is + boolean. Default is + false. + + + + + + "labelBackgroundColor" + + + Defines the key for the label background color. + The value is a string expression described on the + color + list + + . + + + + + + "labelBorderColor" + + + Defines the key for the label border color. The + value is a string expression described on the + color + list + + . + + + + + + "indicatorShape" + + + Defines the key for the indicatorShape style. + Possible values are described on the + shape + list + + . + + + + + + "indicatorImage" + + + Defines the key for the indicatorImage style. + Possible values are any image URL, the type of the + value is String. + + + + + + "indicatorColor" + + + Defines the key for the indicatorColor style. The + value is a string expression described below. + + + + + + "indicatorGradientColor" + + + Defines the key for the indicatorGradientColor + style. The value is a string expression described on + the + color + list + + .This style is only supported in + shapeshapes. + + + + + + "indicatorSpacing" + + + Defines the key for the indicatorSpacing style + (in px). + + + + + + "indicatorWidth" + + + Defines the key for the indicatorWidth style (in + px). + + + + + + "indicatorHeight" + + + Defines the key for the indicatorHeight style (in + px). + + + + + + "shadow" + + + Defines the key for the shadow style. The type of + the value is + boolean. This style + applies to vertices and arrow style edges. + + + + + + "endArrow" + + + Defines the key for the endArrow style. Possible + values are described on the + arrow + list + + . + + + + + + "startArrow" + + + Defines the key for the startArrow style. + Possible values are described on the + arrow + list + + . + + + + + + "endSize" + + + Defines the key for the endSize style. The type + of this value is float and the value represents the + size of the end marker in pixels. + + + + + + "startSize" + + + Defines the key for the startSize style. The type + of this value is float and the value represents the + size of the start marker or the size of the swimlane + title region depending on the shape it is used + for. + + + + + + "dashed" + + + Defines the key for the dashed style. The type of + this value is + booleanand the value + determines whether or not an edge or border is drawn + with a dashed pattern along the line. + + + + + + "rounded" + + + Defines the key for the rounded style. The type + of this value is + boolean. For edges this + determines whether or not joins between edges segments + are smoothed to a rounded finish. For vertices that + have the rectangle shape, this determines whether or + not the rectangle is rounded. + + + + + + "sourcePerimeterSpacing" + + + Defines the key for the source perimeter spacing. + The type of this value is double. This is the distance + between the source connection point of an edge and the + perimeter of the source vertex in pixels. This style + only applies to edges. + + + + + + "targetPerimeterSpacing" + + + Defines the key for the target perimeter spacing. + The type of this value is double. This is the distance + between the target connection point of an edge and the + perimeter of the target vertex in pixels. This style + only applies to edges. + + + + + + "perimeterSpacing" + + + Defines the key for the perimeter spacing. This + is the distance between the connection point and the + perimeter in pixels. When used in a vertex style, this + applies to all incoming edges to floating ports (edges + that terminate on the perimeter of the vertex). When + used in an edge style, this spacing applies to the + source and target separately, if they terminate in + floating ports (on the perimeter of the vertex). + + + + + + "spacing" + + + Defines the key for the spacing. The value + represents the spacing, in pixels, added to each side + of a label in a vertex (style applies to vertices + only). + + + + + + "spacingTop" + + + Defines the key for the spacingTop style. The + value represents the spacing, in pixels, added to the + top side of a label in a vertex (style applies to + vertices only). + + + + + + "spacingLeft" + + + Defines the key for the spacingLeft style. The + value represents the spacing, in pixels, added to the + left side of a label in a vertex (style applies to + vertices only). + + + + + + "spacingBottom" + + + Defines the key for the spacingBottom style The + value represents the spacing, in pixels, added to the + bottom side of a label in a vertex (style applies to + vertices only). + + + + + + "spacingRight" + + + Defines the key for the spacingRight style The + value represents the spacing, in pixels, added to the + right side of a label in a vertex (style applies to + vertices only). + + + + + + "horizontal" + + + Defines the key for the horizontal style. The + type of this value is + boolean. This value only + applies to vertices. If the + "shape"is + "swimlane"a value of + falseindicates that the swimlane + should be drawn vertically, + trueindicates to draw it + horizontally. If the shape style does not indicate that + this vertex is a swimlane, this value affects only + whether the label is drawn horizontally or + vertically. + + + + + + "direction" + + + Defines the key for the direction style. The + direction style is used to specify the direction of + certain shapes. Possible values are described on the + direction + list + + .This value only applies to + vertices. + + + + + + "elbow" + + + Defines the key for the elbow style. Possible + values are + "horizontal"and + "vertical". Default is + "horizontal". This defines how the + three segment orthogonal edge style leaves its terminal + vertices. The vertical style leaves the terminal + vertices at the top and bottom sides. + + + + + + "fontColor" + + + Defines the key for the fontColor style. The + value is type String and of the expression described + below. + + + + + + "fontFamily" + + + Defines the key for the fontFamily style. + Possible values are names such as + Arial; + Dialog; + Verdana; + Times New Roman. The value is of + type String. + + + + + + "fontSize" + + + Defines the key for the fontSize style (in + points). The type of the value is int. + + + + + + "fontStyle" + + + Defines the key for the fontStyle style. Values + may be any logical AND (sum) of values on the + font style + table + + .The type of the value is int. + + + + + + "shape" + + + Defines the key for the shape style. Possible + values are any of + shape + list + + . + + + + + + "routingCenterX" + + + Defines the key for the horizontal routing + center. Possible values are between -0.5 and 0.5. This + is the relative offset from the center used for + connecting edges. The type of this value is + float. + + + + + + "routingCenterY" + + + Defines the key for the vertical routing center. + Possible values are between -0.5 and 0.5. This is the + relative offset from the center used for connecting + edges. The type of this value is float; + + + + + + + + JGraphx alignment values + + + "left"- horizontal alignment + + + + + "center"- horizontal alignment + + + + + "right"- horizontal alignment + + + + + "top"- vertical alignment + + + + + "middle"- vertical alignment + + + + + "bottom"- vertical alignment + + + + + JGraphx arrow values + + + "classic" + + + + + "block" + + + + + "oval" + + + + + "diamond" + + + + + JGraphx shape values + + + "rectangle" + + + + + "ellipse" + + + + + "doubleEllipse" + + + + + "rhombus" + + + + + "line" + + + + + "image" + + + + + "arrow" + + + + + "curve" + + + + + "label" + + + + + "cylinder" + + + + + "swimlane" + + + + + "connector" + + + + + "actor" + + + + + "cloud" + + + + + "triangle" + + + + + "hexagon" + + + + + JGraphx valid color values + + Web notation colors - + "#E1E1E1"for example + + + + Java parseable colors - int values as RGB or sRGB + colors + + + + + "white" + + + + + "black" + + + + + "red" + + + + + "green" + + + + + "blue" + + + + + "orange" + + + + + "yellow" + + + + + "pink" + + + + + "turquoise" + + + + + "gray" + + + + + JGraphx direction values + + + "north" + + + + + "south" + + + + + "east" + + + + + "west" + + + + + JGraphx font modifier values + + bold - + 1 + + + + italic - + 2 + + + + underline - + 4 + + + + shadow - + 8 + + + + + + + + Examples + + + + + + + + + + + + See Also + + + xcosPal + + + xcosPalAdd + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalDelete.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalDelete.xml new file mode 100755 index 000000000..648841dec --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalDelete.xml @@ -0,0 +1,64 @@ + + + xcosPalDelete + Remove an Xcos palette. + + + Calling Sequence + + xcosPalDelete(category); + + + + Arguments + + + category: + + string array; the category path to delete + + + + + + Description + + Remove an existing palette. + + + + Examples + + + + See also + + + xcosPal + + + xcosPalAdd + + + + + History + + + 5.4.0 + Function added in Scilab 5.4.0 + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalExport.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalExport.xml new file mode 100755 index 000000000..070d4b246 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalExport.xml @@ -0,0 +1,84 @@ + + + + + xcosPalExport + Export a palette instance to a path. + + + Calling Sequence + + xcosPalExport(pal, path); + status = xcosPalExport(pal, path); + [status, message] = xcosPalExport(pal, path); + + + + + Arguments + + + pal: + + palette tlist; the palette to export + + + + path: + + string path; where to export the palette (HDF5 formatted file) + + + + status: + + boolean; status of the export + + + + msg: + + string; error message + + + + + + Description + + Export Scilab palette instance to a file. + + + + + + Examples + + + + See also + + + xcosPal + + + xcosPalAdd + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalGenerateAllIcons.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalGenerateAllIcons.xml new file mode 100755 index 000000000..fb0aee4f1 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalGenerateAllIcons.xml @@ -0,0 +1,68 @@ + + + + xcosPalGenerateAllIcons + Update the palette icons (gif files) from a Scilab instance + + + + Calling Sequence + + lst = xcosPalGenerateAllIcons(path) + + + + Arguments + + + path + + the palette path + + + + lst + + list (names) of the generated block + + + + + + Description + This functionality updates the image file used on the palette accordingly to the Scilab interface function. It can be used to update the representation of a block at any time after the first generation. + + + + Example + + + + History + + + 5.4.1 + + Function added. + + + + + + See Also + + + xcosPalAdd + + + xcosPalAddBlock + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalMove.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalMove.xml new file mode 100755 index 000000000..ae706350b --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosPalMove.xml @@ -0,0 +1,73 @@ + + + xcosPalMove + Move a palette from a category to another one. + + + Calling Sequence + + xcosPalMove(source, target); + + + + Arguments + + + source: + + string array; the source category path + + + + target: + + string array; the target category path + + + + + + Description + + Move an existing palette. + + + + Examples + + + + See also + + + xcosPal + + + xcosPalAdd + + + xcosPalDelete + + + + + History + + + 5.4.0 + Function added in Scilab 5.4.0 + + + + diff --git a/modules/xcos/help/en_US/scilab_utilities_functions/xcosUpdateBlock.xml b/modules/xcos/help/en_US/scilab_utilities_functions/xcosUpdateBlock.xml new file mode 100755 index 000000000..c4ae00382 --- /dev/null +++ b/modules/xcos/help/en_US/scilab_utilities_functions/xcosUpdateBlock.xml @@ -0,0 +1,84 @@ + + + + + xcosUpdateBlock + Update a block instance + + + Calling Sequence + xcosUpdateBlock(blk) + + + Module + + + + xcos + + + + + + Description + Update a block on a currently opened diagram. + + + + blk : The block to update. The variable has a scicos_block type. + + + + This function has been introduced in Scilab 5.4.0. + + + + + + See Also + + + + xcos + + + + + xcosAddToolsMenu - Add a menu item into the Xcos "Tools" menu + + + + + scicos_block. + + + + + scicos_diagram + + + + + + Authors + + Clément David - Scilab Enterprises + + + diff --git a/modules/xcos/help/en_US/solvers/0-LSodar.xml b/modules/xcos/help/en_US/solvers/0-LSodar.xml new file mode 100755 index 000000000..7a1ca31ac --- /dev/null +++ b/modules/xcos/help/en_US/solvers/0-LSodar.xml @@ -0,0 +1,217 @@ + + + + + LSodar + + LSodar (short for Livermore Solver for Ordinary Differential equations, with Automatic method switching for stiff and nonstiff problems, and with Root-finding) is a numerical solver providing an efficient and stable method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. + + + + Description + + Called by xcos, LSodar (short for Livermore Solver for Ordinary Differential equations, with Automatic method switching for stiff and nonstiff problems, and with Root-finding) is a numerical solver providing an efficient and stable variable-size step method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + LSodar is similar to CVode in many ways: + + + It uses variable-size steps, + + + It can potentially use BDF and Adams integration methods, + + + BDF and Adams being implicit stable methods, LSodar is suitable for stiff and nonstiff problems, + + + They both look for roots over the integration interval. + + + + + The main difference though is that LSodar is fully automated, and chooses between BDF and Adams itself, by checking for stiffness at every step. + + + If the step is considered stiff, then BDF (with max order set to 5) is used and the Modified Newton method 'Chord' iteration is selected. + + + Otherwise, the program uses Adams integration (with max order set to 12) and Functional iterations. + + + The stiffness detection is done by step size attempts with both methods. + + + First, if we are in Adams mode and the order is greater than 5, then we assume the problem is nonstiff and proceed with Adams. + + + The first twenty steps use Adams / Functional method. + Then LSodar computes the ideal step size of both methods. If the step size advantage is at least ratio = 5, then the current method switches (Adams / Functional to BDF / Chord Newton or vice versa). + + + After every switch, LSodar takes twenty steps, then starts comparing the step sizes at every step. + + + Such strategy induces a minor overhead computational cost if the problem stiffness is known, but is very effective on problems that require differentiate precision. For instance, discontinuities-sensitive problems. + + + Concerning precision, the two integration/iteration methods being close to CVode's, the results are very similar. + + + + Examples + + + + + + + + + + + + The integral block returns its continuous state, we can evaluate it with LSodar by running the example: + + + + + + The Scilab console displays: + + + + Now, in the following script, we compare the time difference between LSodar and CVode by running the example with the five solvers in turn: + + Open the script + + + + + + + These results show that on a nonstiff problem, for the same precision required, LSodar is significantly faster. Other tests prove the proximity of the results. Indeed, we find that the solution difference order between LSodar and CVode is close to the order of the highest tolerance ( + + ylsodar - ycvode + + ≈ max(reltol, abstol) ). + + + Variable-size step ODE solvers are not appropriate for deterministic real-time applications because the computational overhead of taking a time step varies over the course of an application. + + + + See Also + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + ACM SIGNUM Newsletter, Volume 15, Issue 4, December 1980, Pages 10-11 LSode - LSodi + + + Sundials Documentation + + + + History + + + 5.4.1 + LSodar solver added + + + + diff --git a/modules/xcos/help/en_US/solvers/1-CVode.xml b/modules/xcos/help/en_US/solvers/1-CVode.xml new file mode 100755 index 000000000..5ae5fc652 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/1-CVode.xml @@ -0,0 +1,299 @@ + + + + + CVode + + CVode (short for C-language Variable-coefficients ODE solver) is a numerical solver providing an efficient and stable method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. It uses either BDF or Adams as implicit integration method, and Newton or Functional iterations. + + + + Description + + Called by xcos, CVode (short for C-language Variable-coefficients ODE solver) is a numerical solver providing an efficient and stable method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + Starting with + + y0 + + , CVode approximates + + yn+1 + + with the formula: + + + + \begin{eqnarray} + \sum_{i=0}^{K_1} \alpha_{n,i} y_{n-i} + h_n\sum_{i=0}^{K_2} \beta_{n,i} \dot{y}_{n-i} = 0,\hspace{10 mm} (1) + \end{eqnarray} + + + with + + yn + + the approximation of + + y(tn) + + , and + + hn + + = + + tn - tn-1 + + the step size. + + + + These implicit methods are characterized by their respective order q, which indicates the number of intermediate points required to compute + + yn+1 + + . + + + This is where the difference between BDF and Adams intervenes (Backward Differentiation Formula and Adams-Moulton formula): + + + + If the problem is stiff, the user should select BDF: + + + + + q, the order of the method, is set between 1 and 5 (automated), + + + K1 = q and K2 = 0. + + + + In the case of nonstiffness, Adams is preferred: + + + + q is set between 1 and 12 (automated), + + + K1 = 1 and K2 = q. + + + + The coefficients are fixed, uniquely determined by the method type, its order, the history of the step sizes, and the normalization + + αn, 0 = -1 + + . + + + For either choice and at each step, injecting this integration in (1) yields the nonlinear system: + + + + G(y_n)\equiv y_n-h_n\beta_{n,0}f(t_n,y_n)-a_n=0, \hspace{2 mm} where \hspace{2 mm} a_n\equiv \sum_{i>0} (\alpha_{n,i} y_{n-i} + h_n\beta_{n,i}\dot{y}_{n-i}) + + + + This system can be solved by either Functional or Newton iterations, described hereafter. + + + In both following cases, the initial "predicted" + + yn(0) + + is explicitly computed from the history data, by adding derivatives. + + + + + Functional: this method only involves evaluations of f, it simply computes + + yn(0) + + by iterating the formula: + + + y_{n(m+1)} = h_n β_{n,0} f(t_n,y_{n(m)}) + a_n + + + where \hspace{2 mm} a_n\equiv \sum_{i>0} (\alpha_{n,i} y_{n-i} + h_n\beta_{n,i}\dot{y}_{n-i}) + + + + + + Newton: here, we use an implemented direct dense solver on the linear system: + + + M[y_{n(m+1)}-y_{n(m)}]=-G(y_{n(m)}), \hspace{4 mm} M \approx I-\gamma J, \hspace{2 mm} J=\frac{\partial f}{\partial y}, \hspace{2 mm} and \hspace{2 mm} \gamma = h_n\beta_{n,0} + + + + + + In both situations, CVode uses the history array to control the local error + + yn(m) - yn(0) + + and recomputes + + hn + + if that error is not satisfying. + + + + The recommended choices are BDF / Newton for stiff problems and Adams / Functional for the nonstiff ones. + + + + The function is called in between activations, because a discrete activation may change the system. + + + Following the criticality of the event (its effect on the continuous problem), we either relaunch the solver with different start and final times as if nothing happened, or, if the system has been modified, we need to "cold-restart" the problem by reinitializing it anew and relaunching the solver. + + + Averagely, CVode accepts tolerances up to 10-16. Beyond that, it returns a Too much accuracy requested error. + + + + Examples + + + + + + + + + + + + The integral block returns its continuous state, we can evaluate it with BDF / Newton by running the example: + + + + + + The Scilab console displays: + + + + Now, in the following script, we compare the time difference between the methods by running the example with the four solvers in turn: + + Open the script + + + + Results: + + + + The results show that for a simple nonstiff continuous problem, Adams / Functional is fastest. + + + + See Also + + + LSodar + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + IDA + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Sundials Documentation + + + diff --git a/modules/xcos/help/en_US/solvers/2-Runge-Kutta.xml b/modules/xcos/help/en_US/solvers/2-Runge-Kutta.xml new file mode 100755 index 000000000..ef0113d11 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/2-Runge-Kutta.xml @@ -0,0 +1,271 @@ + + + + + Runge-Kutta 4(5) + + Runge-Kutta is a numerical solver providing an efficient explicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. + + + + Description + + Called by xcos, Runge-Kutta is a numerical solver providing an efficient fixed-size step method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode and IDA use variable-size steps for the integration. + + + A drawback of that is the unpredictable computation time. With Runge-Kutta, we do not adapt to the complexity of the problem, but we guarantee a stable computation time. + + + As of now, this method is explicit, so it is not concerned with Newton or Functional iterations, and not advised for stiff problems. + + + It is an enhancement of the Euler method, which approximates + + yn+1 + + by truncating the Taylor expansion. + + + By convention, to use fixed-size steps, the program first computes a fitting h that approaches the simulation parameter max step size. + + + An important difference of Runge-Kutta with the previous methods is that it computes up to the fourth derivative of y, while the others only use linear combinations of y and y'. + + + Here, the next value is determined by the present value + + yn + + plus the weighted average of four increments, where each increment is the product of the size of the interval, h, and an estimated slope specified by the function f(t,y): + + + k1 is the increment based on the slope at the beginning of the interval, using + + yn + + (Euler's method), + + + k2 is the increment based on the slope at the midpoint of the interval, using + + yn + h*k1/2 + + , + + + k3 is again the increment based on the slope at the midpoint, but now using + + yn + h*k2/2 + + + + k4 is the increment based on the slope at the end of the interval, using + + yn + h*k3 + + + + + + We can see that with the ki, we progress in the derivatives of + + yn + + . So in k4, we are approximating + + y(4)n + + , thus making an error in + + O(h5) + + . + + + So the total error is + + number of steps * O(h5) + + . And since number of steps = interval size / h by definition, the total error is in + + O(h4) + + . + + + That error analysis baptized the method Runge-Kutta 4(5), + + O(h5) + + per step, + + O(h4) + + in total. + + + Although the solver works fine for max step size up to + + 10-3 + + , rounding errors sometimes come into play as we approach + 4*10-4 + + . Indeed, the interval splitting cannot be done properly and we get capricious results. + + + + Examples + + + + + + + + + + + + The integral block returns its continuous state, we can evaluate it with Runge-Kutta by running the example: + + + + + + The Scilab console displays: + + + + Now, in the following script, we compare the time difference between Runge-Kutta and CVode by running the example with the five solvers in turn: + + Open the script + + + + + + + These results show that on a nonstiff problem, for relatively same precision required and forcing the same step size, Runge-Kutta is faster. + + + Variable-size step ODE solvers are not appropriate for deterministic real-time applications because the computational overhead of taking a time step varies over the course of an application. + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Sundials Documentation + + + + History + + + 5.4.1 + Runge-Kutta 4(5) solver added + + + + diff --git a/modules/xcos/help/en_US/solvers/3-Dormand-Prince.xml b/modules/xcos/help/en_US/solvers/3-Dormand-Prince.xml new file mode 100755 index 000000000..d32687d68 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/3-Dormand-Prince.xml @@ -0,0 +1,258 @@ + + + + + Dormand-Prince 4(5) + + Dormand-Prince is a numerical solver providing an efficient explicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. + + + + Description + + Called by xcos, Dormand-Prince is a numerical solver providing an efficient fixed-size step method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode and IDA use variable-size steps for the integration. + + + A drawback of that is the unpredictable computation time. With Dormand-Prince, we do not adapt to the complexity of the problem, but we guarantee a stable computation time. + + + As of now, this method is explicit, so it is not concerned with Newton or Functional iterations, and not advised for stiff problems. + + + It is an enhancement of the Euler method, which approximates + + yn+1 + + by truncating the Taylor expansion. + + + By convention, to use fixed-size steps, the program first computes a fitting h that approaches the simulation parameter max step size. + + + An important difference of Dormand-Prince with the previous methods is that it computes up to the seventh derivative of y, while the others only use linear combinations of y and y'. + + + Here, the next value is determined by the present value + + yn + + plus the weighted average of six increments, where each increment is the product of the size of the interval, h, and an estimated slope specified by the function f(t,y): + + + k1 is the increment based on the slope at the beginning of the interval, using + + yn + + (Euler's method), + + + k2, k3, k4 and k5 are the increments based on the slope at respectively 0.2, 0.3, 0.8 and 0.9 of the interval, using combinations of each other, + + + k6 is the increment based on the slope at the end, also using combinations of the other ki. + + + + + We can see that with the ki, we progress in the derivatives of + + yn + + . In the computation of the ki, we deliberately use coefficients that yield an error in + + O(h5) + + at every step. + + + So the total error is + + number of steps * O(h5) + + . And since number of steps = interval size / h by definition, the total error is in + + O(h4) + + . + + + That error analysis baptized the method Dormand-Prince 4(5): + + O(h5) + + per step, + + O(h4) + + in total. + + + Althought the solver works fine for max step size up to + + 10-3 + + , rounding errors sometimes come into play as it approaches + + 4*10-4 + + . Indeed, the interval splitting cannot be done properly and we get capricious results. + + + + Examples + + + + + + + + + + + + The integral block returns its continuous state, we can evaluate it with Dormand-Prince by running the example: + + + + + + The Scilab console displays: + + + + Now, in the following script, we compare the time difference between Dormand-Prince and CVode by running the example with the five solvers in turn: + + Open the script + + + + + + + These results show that on a nonstiff problem, for relatively same precision required and forcing the same step size, Dormand-Prince's computational overhead (compared to Runge-Kutta) is significant and is close to Adams/Functional. Its error to the solution is althought much smaller than the regular Runge-Kutta 4(5), for a small overhead in time. + + + Variable-size step ODE solvers are not appropriate for deterministic real-time applications because the computational overhead of taking a time step varies over the course of an application. + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Journal of Computational and Applied Mathematics, Volume 15, Issue 2, 2 June 1986, Pages 203-211 Dormand-Prince Method + + + Sundials Documentation + + + + History + + + 5.4.1 + Dormand-Prince 4(5) solver added + + + + diff --git a/modules/xcos/help/en_US/solvers/4-ImplicitRK.xml b/modules/xcos/help/en_US/solvers/4-ImplicitRK.xml new file mode 100755 index 000000000..208bc8cc1 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/4-ImplicitRK.xml @@ -0,0 +1,314 @@ + + + + + Implicit Runge-Kutta 4(5) + + Implicit Runge-Kutta is a numerical solver providing an efficient and stable implicit method to solve Ordinary Differential Equations (ODEs) Initial Value Problems. Called by xcos. + + + + Description + + Runge-Kutta is a numerical solver providing an efficient and stable fixed-size step method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode and IDA use variable-size steps for the integration. + + + A drawback of that is the unpredictable computation time. With Runge-Kutta, we do not adapt to the complexity of the problem, but we guarantee a stable computation time. + + + This method being implicit, it can be used on stiff problems. + + + It is an enhancement of the backward Euler method, which approximates + + yn+1 + + by computing + + f(tn+h, yn+1) + + and truncating the Taylor expansion. + + + The implemented scheme is inspired from the "Low-Dispersion Low-Dissipation Implicit Runge-Kutta Scheme" (see bottom for link). + + + By convention, to use fixed-size steps, the program first computes a fitting h that approaches the simulation parameter max step size. + + + An important difference of implicit Runge-Kutta with the previous methods is that it computes up to the fourth derivative of y, while the others mainly use linear combinations of y and y'. + + + Here, the next value is determined by the present value + + yn + + plus the weighted average of three increments, where each increment is the product of the size of the interval, h, and an estimated slope specified by the function f(t,y). They are distributed approximately equally on the interval. + + + k1 is the increment based on the slope near the quarter of the interval, using + + yn+ a11*h*k1, + + , + + + k2 is the increment based on the slope near the midpoint of the interval, using + + yn + a21*h*k1 + a22*h*k2, + + , + + + k3 is the increment based on the slope near the third quarter of the interval, using + + yn + a31*h*k1 + a32*h*k2 + a33*h*k3. + + + + + + We see that the computation of ki requires ki, thus necessitating the use of a nonlinear solver (here, fixed-point iterations). + + + First, we set + + k0 = h * f(tn, yn) + + as first guess for all the ki, to get updated ki and a first value for + + yn+1 + + . + + + Next, we save and recompute + + yn+1 + + with those new ki. + + + Then, we compare the two + + yn+1 + + and recompute it until its difference with the last computed one is inferior to the simulation parameter reltol. + + + This process adds a significant computation time to the method, but greatly improves stability. + + + We can see that with the ki, we progress in the derivatives of + + yn + + . So in k3, we are approximating + + y(3)n + + , thus making an error in + + O(h4) + + . But choosing the right coefficients in the computation of the ki (notably the + + aij + + ) makes us gain an order, thus making a per-step total error in + + O(h5) + + . + + + So the total error is + + number of steps * O(h5) + + . And since number of steps = interval size / h by definition, the total error is in + + O(h4) + + . + + + That error analysis baptized the method implicit Runge-Kutta 4(5): + + O(h5) + + per step, + + O(h4) + + in total. + + + Although the solver works fine for max step size up to + + 10-3 + + , rounding errors sometimes come into play as we approach + + 4*10-4 + + . Indeed, the interval splitting cannot be done properly and we get capricious results. + + + + Examples + + + + + + + + + + + + The integral block returns its continuous state, we can evaluate it with implicit RK by running the example: + + + + + + The Scilab console displays: + + + + Now, in the following script, we compare the time difference between implicit RK and CVode by running the example with the five solvers in turn: + + Open the script + + + + + + + These results show that on a nonstiff problem, for relatively same precision required and forcing the same step size, implicit Runge-Kutta competes with Adams / Functional. + + + Variable-size step ODE solvers are not appropriate for deterministic real-time applications because the computational overhead of taking a time step varies over the course of an application. + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + DDaskr + + + Comparisons + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Journal of Computational Physics, Volume 233, January 2013, Pages 315-323 A low-dispersion and low-dissipation implicit Runge-Kutta scheme + + + Sundials Documentation + + + + History + + + 5.4.1 + Implicit Runge-Kutta 4(5) solver added + + + + diff --git a/modules/xcos/help/en_US/solvers/6-IDA.xml b/modules/xcos/help/en_US/solvers/6-IDA.xml new file mode 100755 index 000000000..d0710582f --- /dev/null +++ b/modules/xcos/help/en_US/solvers/6-IDA.xml @@ -0,0 +1,207 @@ + + + + + IDA + + IDA (short for Implicit Differential Algebraic equations system solver) is a numerical solver providing an efficient and stable method to solve Differential Algebraic Equations system (DAEs) Initial Value Problems. + + + + Description + + Called by xcos, IDA (short for Implicit Differential Algebraic equations system solver) is a numerical solver providing an efficient and stable method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + F(t,y,\dot{y}) = 0, \hspace{2 mm} y(t_0)=y_0, \hspace{2 mm} \dot{y}(t_0)=\dot{y}_0, \hspace{3 mm} y, \hspace{1.5 mm} \dot{y} \hspace{1.5 mm} and \hspace{1.5 mm} F \in R^N \hspace{10 mm} (1) + \end{eqnarray} + + + + + Before solving the problem, IDA runs an internal routine to find consistent values for + + y0 + + and + + yPrime0 + + . + + Starting then with those + + y0 + + and + + yPrime0 + + , IDA approximates + + yn+1 + + with the BDF formula: + + + + \begin{eqnarray} + \sum_{i=0}^{q} \alpha_{n,i} y_{n-i} = h_n\dot{y}_{n} + \end{eqnarray} + + + with, like in CVode, + + yn + + the approximation of + + y(tn) + + , + + hn + + = + + tn - tn-1 + + the step size, and the coefficients are fixed, uniquely determined by the method type, its order q ranging from 1 to 5 and the history of the step sizes. + + + + Injecting this formula in (1) yields the system: + + + + G(y_n) \equiv F \left( t_n, \hspace{1.5mm} y_n, \hspace{1.5mm} h_n^{-1}\sum_{i=0}^{q} \alpha_{n,i} y_{n-i} \right) = 0 + + + + To apply Newton iterations to it, we rewrite it into: + + + + J \left[y_{n(m+1)}-y_{n(m)} \right] = -G(y_{n(m)}) + + + + with J an approximation of the Jacobian: + + + + J = \frac{\partial{G}}{\partial{y}} = \frac{\partial{F}}{\partial{y}}+\alpha\frac{\partial{F}}{\partial{\dot{y}}}, \hspace{4 mm} \alpha = \frac{\alpha_{n,0}}{h_n}, + + + + α changes whenever the step size or the method order varies. + + + An implemented direct dense solver is used and we go on to the next step. + + + IDA uses the history array to control the local error + + yn(m) - yn(0) + + and recomputes + + hn + + if that error is not satisfying. + + + The function is called in between activations, because a discrete activation may change the system. + + + Following the criticality of the event (its effect on the continuous problem), we either relaunch the solver with different start and final times as if nothing happened, or, if the system has been modified, we need to "cold-restart" the problem by reinitializing it anew and relaunching the solver. + + + Averagely, IDA accepts tolerances up to 10-11. Beyond that, it returns a Too much accuracy requested error. + + + + Example + + The 'Modelica Generic' block returns its continuous states, we can evaluate them with IDA by running the example: + + + + + + + + + + + + + + See Also + + + LSodar + + + CVode + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Sundials Documentation + + + diff --git a/modules/xcos/help/en_US/solvers/7-DDaskr.xml b/modules/xcos/help/en_US/solvers/7-DDaskr.xml new file mode 100755 index 000000000..3009a5c27 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/7-DDaskr.xml @@ -0,0 +1,244 @@ + + + + + DDaskr + + DDaskr (short for Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding) is a numerical solver providing an efficient and stable method to solve Differential Algebraic Equations systems (DAEs) Initial Value Problems. + + + + Description + + Called by xcos, DDaskr (short for Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding) is a numerical solver providing an efficient and stable method to solve Initial Value Problems of the form: + + + + \begin{eqnarray} + F(t,y,\dot{y}) = 0, \hspace{2 mm} y(t_0)=y_0, \hspace{2 mm} \dot{y}(t_0)=\dot{y}_0, \hspace{3 mm} y, \hspace{1.5 mm} \dot{y} \hspace{1.5 mm} and \hspace{1.5 mm} F \in R^N \hspace{10 mm} (1) + \end{eqnarray} + + + + + Before solving the problem, DDaskr runs an implemented routine to find consistent values for + + y0 + + and + + yPrime0 + + . + + Starting then with those + + y0 + + and + + yPrime0 + + , DDaskr approximates + + yn+1 + + with the BDF formula: + + + + \begin{eqnarray} + \sum_{i=0}^{q} \alpha_{n,i} y_{n-i} = h_n\dot{y}_{n} + \end{eqnarray} + + + with, like in CVode, + + yn + + the approximation of + + y(tn) + + , + + hn + + = + + tn - tn-1 + + the step size, and the coefficients are fixed, uniquely determined by the method type, its order q ranging from 1 to 5 and the history of the step sizes. + + + + Injecting this formula in (1) yields the system: + + + + G(y_n) \equiv F \left( t_n, \hspace{1.5mm} y_n, \hspace{1.5mm} h_n^{-1}\sum_{i=0}^{q} \alpha_{n,i} y_{n-i} \right) = 0 + + + + Its solving is done through a Newton method, but with either direct or preconditioned GMRes Krylov iterations. + + + + + Direct iteration: start by rewriting the system into: + + + + J \left[y_{n(m+1)}-y_{n(m)} \right] = -G(y_{n(m)}) + + + + with J an approximation of the Jacobian: + + + + J = \frac{\partial{G}}{\partial{y}} = \frac{\partial{F}}{\partial{y}}+\alpha\frac{\partial{F}}{\partial{\dot{y}}}, \hspace{4 mm} \alpha = \frac{\alpha_{n,0}}{h_n}, + + + + α changes whenever the step size or the method order varies. + + + Then, an implemented direct dense solver is used and we go on to the next step. + + + + + GMRes Krylov method: first, precondition the system by applying the Jacobian matrix mentioned above. + + + Secondly, compute the next Krylov space basis and update the Hessenberg matrix. + + + Test for convergence for the first time. If it doesn't pass, calculate the residual, which will lead to a new potential solution, and iterate until that residual satisfies convergence. + + + + + DDaskr uses the history array to control the local error + + yn(m) - yn(0) + + and recomputes + + hn + + if that error is not satisfying. + + + The function is called in between activations, because a discrete activation may change the system. + + + Following the criticality of the event (its effect on the continuous problem), we either relaunch the solver with different start and final times as if nothing happened, or, if the system has been modified, we need to "cold-restart" the problem by reinitializing it anew and relaunching the solver. + + + Averagely, DDaskr accepts tolerances up to 10-11. Beyond that, it returns a Too much accuracy requested error. + + + As of now, DDaskr can only be applied on systems where the root functions are punctually 0, and not 0-flat. + + + + Example + + The 'Modelica Generic' block returns its continuous states, we can evaluate them with DDaskr by running the example: + + + + + + + + + + + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + Comparisons + + + daskr + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Netlib storage, documentation inside of the code. + + + Sundials Documentation + + + + History + + + 5.5.0 + DDaskr solver added + + + + diff --git a/modules/xcos/help/en_US/solvers/8-Rootfinding.xml b/modules/xcos/help/en_US/solvers/8-Rootfinding.xml new file mode 100755 index 000000000..7412d417c --- /dev/null +++ b/modules/xcos/help/en_US/solvers/8-Rootfinding.xml @@ -0,0 +1,186 @@ + + + + + Rootfinding + + This feature finds roots of continuous functions for Zero-crossing Blocks. + + + + Description + + Some problems require zero crossing detection of continuous functions (for instance, regulation systems), also named rootfinding. + This feature is common to all solvers, and is realized by following the same process. + + + Each Zero-crossing Block defines one of these functions, noted g(t). + + + Generally, the feature only finds roots of odd multiplicity, corresponding to changes + in sign of g(t). If a user root function has a root of even multiplicity (no sign change), it will probably be missed. If such a root is desired, the user should reformulate the root function so that it changes sign at the desired root. + + + The basic scheme used is to check for sign changes of any g(t) over each time step taken, and then (when a sign change is found) to home in on the root (or roots) with a modified secant method. + + + After suitable checking and adjusting has been done, the roots are to be sought within + + [tlo, thi] + + . A loop is entered to locate the + root to within a rather tight tolerance, given by the unit roudoff, the current time and the step size. + + + We then determine which root function is more likely to have its roots occur first by comparing the secant method values, and set a new value + + tmid + + and restrain the research interval to either + + [tlo, tmid] + + or + + [tmid, thi] + + , following which does the sign change occur in. + + + Since the tolerance depends on the step size, the smaller it is, the more accurate the homing in will be. + + + + Examples and Overhead + + + + + + + + + + + + Simple example of a Sine crossing zero several times: + + + + + + The blue bars represent the "positive to negative" zero crossings, while the red ones are for "negative to positive". + + + Now, in the two following scripts, we test the computational overhead of the rootfinding with LSodar: + + + First, a Sine function that crosses zero every π period: + + Open the script + + + + + + + Then, a simple straight line that crosses zero only once, in the middle of the interval: + + Open the script + + + + + + + Following the number of zero crossings, the aspect of the function near these crossings, the tolerances, ..., the computational overhead ranges between 25% and 45%. + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + Comparisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliography + + Sundials Documentation + + + diff --git a/modules/xcos/help/en_US/solvers/9-Comparisons.xml b/modules/xcos/help/en_US/solvers/9-Comparisons.xml new file mode 100755 index 000000000..483a3c205 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/9-Comparisons.xml @@ -0,0 +1,826 @@ + + + + + Comparisons + + This page compares solvers to determine which one is best fitted for the studied problem. + + + + Introduction + + Following the type of problem, finding out which method to use is not always obvious, only general guidelines can be established. Those are discussed in this page. + + Variable-size and Fixed-size + + The solvers can be divided into two distinct main families: the Variable-size and the Fixed-size step methods. + + + They both compute the next simulation time as the sum of the current simulation time and a quantity known as the step size, which is constant in the Fixed-size solvers and can change in the Variable-size ones, depending on the model dynamics and the input tolerances. + + + If looking for stable computation time, the user should select a Fixed-size step solver, because the computation overhead for a Variable-size step method cannot be properly predicted. + + + Although for a simple problem (or loose tolerances) a Variable-size solver can significantly improve the simulation time by computing bigger step sizes, a Fixed-size method is preferable if the ideal step size is known and roughly constant (the user should then mention it in max step size). + + + + Variable-size step solvers: + + LSodar + CVode + IDA + + Fixed-size step solvers: + + Runge-Kutta 4(5) + Dormand-Prince 4(5) + Implicit Runge-Kutta 4(5) + + + + Variable step-size ODE solvers are not appropriate for deterministic real-time applications because the computational overhead of taking a time step varies over the course of an application. + + Explicit and Implicit - Stiffness + + Within these two families, we can distinguish Explicit solvers from Implicit ones. + + + While explicit methods only use data available on the current step, the implicit ones will attempt to compute derivatives at further times. In order to do this, they use nonlinear solvers such as fixed-point iterations, functional iterations (nonstiff) or modified Newton methods (stiff). + + + The family choice is usually determined by the stiffness of the problem, which is, when there is a big gap between the biggest and the smallest eigen values modules of the jacobian matrix (when it is ill-conditionned). It is generally a system that is sensitive to discontinuitues, meaning that the required precision is not constant. + + + Implicit solvers: + + LSodar + CVode + IDA + Implicit Runge-Kutta 4(5) + + Explicit solvers: + + Runge-Kutta 4(5) + Dormand-Prince 4(5) + + + + To put it simply, the Explicit go straight to a computation of the solution, whereas the Implicit concentrate on stability, involving more operations, following the tolerances. + + So how to choose ? + + Because it is not possible to know for sure whether a solver will be efficient for a given system or not, the best way is to run the most probable one on it and to compare their results. + + + The user should first establish the complexity of his problem (stability / stiffness) and if he desires high precision, rapid simulation, predictable time or an automated program. + + Precision: CVode, + + + Predictable time: Fixed-size step. + + + Simulation time: LSodar, + + + Automated: LSodar, + + + + + Examples - ODEs + + We will begin with a simple nonstiff example: a Sine integration. + + + + + + + + + + + + + In the following script, we compare the time difference between the solvers by running the example with the eight solvers in turn (IDA doesn't handle this kind of problem): + + Open the script + + + + The Scilab console displays: + + + + These results show that on a nonstiff problem and for same precision required, Runge-Kutta is fastest. + + + In spite of the computational overhead of the step size, LSodar is not too distant from the Fixed-size solvers because it is able to take long steps. + + + From the results, we can extract speed factors and set the following table: + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Implicit Runge-Kutta + + + + + LSodar + + 3.1x + 3x + 1.7x + 1.6x + 1.3x + 0.75x + 1.08x + + + + BDF / Newton + + + 0.1x + 0.6x + 0.5x + 0.4x + 0.25x + 0.35x + + + + BDF / Functional + + + + 0.6x + 0.5x + 0.4x + 0.25x + 0.4x + + + + Adams / Newton + + + + + 0.9x + 0.75x + 0.45x + 0.6x + + + + Adams / Functional + + + + + + 0.8x + 0.5x + 0.7x + + + + Dormand-Prince + + + + + + + 0.6x + 0.8x + + + + Runge-Kutta + + + + + + + + 1.4x + + + + + Next, a basic controller with six continuous states is tested. + + + + + + + + + + + In the following script, we compare the time difference between the solvers by running the example with the eight solvers in turn (IDA doesn't handle this kind of problem): + + Open the script + + + + The Scilab console displays: + + + + These results show that as stiffness appears, BDF / Newton starts picking up speed. But the problem is not yet complicated enough for that method to be interesting. + + + The updated speed factors table is as follows: + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Implicit Runge-Kutta + + + + + LSodar + + 2.8x + 2.6x + 1.5x + 1.2x + 0.2x + 0.17x + 0.5x + + + + BDF / Newton + + + 0.9x + 0.5x + 0.4x + 0.1x + 0.05x + 0.2x + + + + BDF / Functional + + + + 0.6x + 0.5x + 0.1x + 0.07x + 0.2x + + + + Adams / Newton + + + + + 0.8x + 0.15x + 0.1x + 0.4x + + + + Adams / Functional + + + + + + 0.2x + 0.1x + 0.5x + + + + Dormand-Prince + + + + + + + 0.7x + 2.4x + + + + Runge-Kutta + + + + + + + + 3.4x + + + + + Now, we use Kalman's filter, which contains fifteen continuous states. + + + + + + + + + + + In the following script, we compare the time difference between the solvers by running the example with the eight solvers in turn (IDA doesn't handle this kind of problem): + + Open the script + + + + The Scilab console displays: + + + + These results show that for a bigger problem (more continuous states implies more equations), the Newton iteration starts showing interest, for it comes closer to the other solvers. + + + The updated speed factors table is as follows: + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Implicit Runge-Kutta + + + + + LSodar + + 2.1x + 1.6x + 1.3x + 0.85x + 0.1x + 0.1x + 0.4x + + + + BDF / Newton + + + 0.75x + 0.6x + 0.4x + 0.06x + 0.05x + 0.2x + + + + BDF / Functional + + + + 0.8x + 0.55x + 0.08x + 0.06x + 0.25x + + + + Adams / Newton + + + + + 0.7x + 0.1x + 0.07x + 0.3x + + + + Adams / Functional + + + + + + 0.15x + 0.1x + 0.5x + + + + Dormand-Prince + + + + + + + 0.7x + 3.2x + + + + Runge-Kutta + + + + + + + + 4.6x + + + + + + Examples - DAEs + + In this section we compare IDA with DDaskr. + + + Example: a bouncing ball. + + + + + + + + + + + + + In the following script, we compare the time difference between the solvers by running the example with the three solvers in turn: + + Open the script + + + + The Scilab console displays: + + + + This result shows that on a stiff problem, with rootfinding and for same precision required, DDaskr - Newton is fastest. + + + The difference in time is attributed to the powerful implementation of DDaskr and its least error control. + + + GMRes is slower due to the small size of the problem. + + + From the results, we can extract the speed factors: + + + + + + + IDA + + + DDaskr G + + + + + DDaskr N + + 1.39x + 1.9x + + + + + The next example simply corroborates the previous one, it is shorter but more thorough, since it deals with the filling and emptying of a tank. + + + + + + + + + + + + + In the following script, we compare the time difference between the solvers by running the example with the three solvers in turn: + + Open the script + + + + The Scilab console displays: + + + + From the results, we can extract the speed factors: + + + + + + + IDA + + + DDaskr G + + + + + DDaskr N + + 3.75x + 1.06x + + + + + + See Also + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Implicit Runge-Kutta 4(5) + + + DDaskr + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + diff --git a/modules/xcos/help/en_US/solvers/CHAPTER b/modules/xcos/help/en_US/solvers/CHAPTER new file mode 100755 index 000000000..0b8fad985 --- /dev/null +++ b/modules/xcos/help/en_US/solvers/CHAPTER @@ -0,0 +1 @@ +title = Solvers diff --git a/modules/xcos/help/en_US/xcos.xml b/modules/xcos/help/en_US/xcos.xml new file mode 100755 index 000000000..645653dc1 --- /dev/null +++ b/modules/xcos/help/en_US/xcos.xml @@ -0,0 +1,207 @@ + + + + + xcos + Block diagram editor and GUI for the hybrid simulator + + + Calling Sequence + + xcos() + xcos(filename) + xcos(scs_m_list) + + + + Module + + + + xcos + + + + + + Arguments + + + + filename : a character string containing the path of the diagram file + (.cos, .cosf or .zcos extension). If no input argument is used, an empty diagram is opened (default name Untitled). + + + + + scs_m_list : a Xcos diagram structure after edition. + + + + + + Description + + Xcos is a graphical editor for constructing models of hybrid dynamical systems. + Models can then be assembled, loaded, saved, compiled, simulated, using GUI of + Xcos. Xcos serves as an interface to the + various block diagram compilers and the hybrid simulator scicosim + + + The Xcos environment presents the following elements: + + + + + Editor + + + The editor allows the design of flow charts representing a dynamic system made of blocks + defined in palettes. Users can customize standard blocks and define new ones. + + + + + + Palette browser + + + The palette browser lists all Xcos standard blocks grouped by categories (signal processing, + electrical, hydraulics, derivative, integral, etc.). See the figure below. + + + + + + Compiler/Simulator + + + Xcos environment enables, from the built model, the simulation of complex systems - + discrete, continuous, defined by symbolic equations (Modelica), etc.. and hybrid systems + combining the capabilities above. The data resulting of the simulation can then be + graphically viewed in real time, used in Scilab for post processing... + + + + + + Invoking xcos with the toolbar icon + + + + + + , with the Xcos menu item in Applications of the Scilab main window, + or as the following example opens up the empty Xcos window of edition shown below. + + + + xcos + + + + + + + + + To open an existing diagram, you must provide a valid filename, like in this example: + + + + + In this use case, the Xcos window is opened and displays the diagram ofbounce.zcos demonstration. + + + + If a diagram structure is present in Scilab workspace, you can open it like in this example: + + + + + where scs_m is the diagram structure of bounce.zcos. + + + You build your models by linking the blocks provided in the palette browser simultaneously opened with + Xcos editor. This window has the following appearance + + + + + + + + + + You can customize the palettes to be shown by clicking on the Palette title in + the left part of the windows. The palette windows shows a selection list where you can select/deselect + palettes individually. Tp return to the previous display, click on a palette title. + + + + + + + + Xcos may requires a C compiler for Modelica based models, for user defined blocks and code generation. + An installed supported compiler is recommended. + + + Example + + + + See Also + + + scicosim + + + scicos_simulate + + + Menu entries + + + Supported compilers + + + + diff --git a/modules/xcos/help/en_US/xcos_debug_gui.xml b/modules/xcos/help/en_US/xcos_debug_gui.xml new file mode 100755 index 000000000..e85a8de0b --- /dev/null +++ b/modules/xcos/help/en_US/xcos_debug_gui.xml @@ -0,0 +1,118 @@ + + + + + + xcos_debug_gui + + Interactive debugging function to be used in the Debug Xcos + block + + + + + Description + + The Xcos Debug block allows to set a Scilab instruction that is + executed before and after the execution of each blocks during the + simulation. Setting the instruction xcos_debug_gui() for the Debug block + instruction makes a graphical user interface to be opened at the beginning + of the simulation. This GUI allows to interactive debug. In particular it + is possible to dynamically specify conditions for which the simulation + will be suspended (break points). When halted on a break point user can + examine the current values, state, input,... of the block. + + + At any time the user can specify break points by a set of cumulative + conditions: + + + + + The flag value for which the current block is called + + + + The current date value + + + + If the break takes place before and/or the block call + + + + The value of a Scilab boolean expression, the break is + active if the condition evaluates to true. This expression may + use the block variable C_struct that contains the current + block elements and Scilab functions curblock and scicos_time. + + + + + + + + + + + When the simulation is suspended, the graphical user interface shows + the current time and current flag values, the block number and the path of + the block in the super blocks hierarchy. + + + The "Next" button restart the simulation till the next suspending + condition + + + The "End debug" button disable all conditions letting the simulation + going on freely up to the end + + + The "Pause" button allows to interactively observe the block data + structure associated to the current block executing Scilab instructions in + the Scilab console. User must enter the "return" instruction to go + back. + + + + + + Authors + + + Serge Steer, INRIA + + + + + History + + + + 0.0 + + Function xcos_debug_gui added + + + + diff --git a/modules/xcos/help/en_US/xcos_menu_entries.xml b/modules/xcos/help/en_US/xcos_menu_entries.xml new file mode 100755 index 000000000..36207cc04 --- /dev/null +++ b/modules/xcos/help/en_US/xcos_menu_entries.xml @@ -0,0 +1,974 @@ + + + + + Menu_Entries + Xcos editor menu entries + + + Contents + + This section presents briefly all the menu entries of the Xcos editor. Many items are also + available in pull-down menus shown by a right click when the mouse cursor is on a block, a link or in the main + Xcos window. + + + + + Xcos editor menu entries + + + + + + + File menu + + + + + Edit menu + + + + + View menu + + + + + Simulate menu + + + + + Format menu + + + + + Tools menu + + + + + ? menu + + + + + See Also + + + + + + + + File menu + + + + + + + + + + File:New (Ctrl+N) + + + + + + + + Clicking on the New menu item open a new empty Xcos diagram in a new + window. With this menu, you can open a new diagram or a new palette. + + + + + + File:Open (Ctrl+O) + + + + + + + + Select the Open menu item to load a XML (.zcos) or a binary file + (.cos) which contain saved block diagram or a palette. The command open a dialog box allows + you to choose the folder and the file. + + + + + + File:Save (Ctrl+S) + + + + + + + + Select the Save menu item to save the diagram in a + XML file. + + + If you select this menu item and you have never clicked on the Save or + Save As menu item, a dialog allows you to choose a directory and + specify a file name without extension. The default extension is .zcos. + + The diagram takes the name of the file (without the extension). + + + + + File:Save As (Ctrl+Shift+S) + + + + + + + + Select the Save As menu item to save the block diagram or palette in a file with a new name. + + + A dialog box allows specifying a file name without the extension and a saving folder. + The default extension is .zcos. + + The diagram takes the name of the file (without the extension). + + + + + File:Export (Ctrl+E) + + + This item is used to export a figure of the current Xcos diagram. The export can be done + in the WBMP, GIF, HTML, JPEG, JPG, PNG, SVG or VML formats. + + + + + + File:Recent Files + + Via this menu, you have a quick access to the recent opened files. + + + + + File:Print (Ctrl+P) + + + + + + + Print the current diagram onto a printer. + + + + + File:Close (Ctrl+W) + + + If several diagrams are opened, the Close action the current diagram. If only one diagram is + opened, the Close action will close Xcos. The auxiliary windows as + viewport, palettes, etc are also closed if + necessary. + + + + + + File:Quit (Ctrl+Q) + + + The Quit action will close Xcos. + The auxiliary windows as viewport, palettes, etc are also closed if necessary. + + + + + + Edit menu + + + + + + + + + + Edit:Undo (Ctrl+Z) + + + + + + + + Select the Undo menu item to undo the last edit operation. + + + + + Edit:Redo (Ctrl+Y) + + + + + + + + Select the Redo menu item to redo the last undo edit operation. + + + + + + Edit:Cut (Ctrl+X) + + + + + + + + Cut is used to remove the selected objects from the diagram and to copy them in the clipboard. + When you cut a block all links connected to it are deleted as well. + + + + + + Edit:Copy (Ctrl+C) + + + + + + + + Copy is used to place a copy of the selected in the clipboard. + + + + + + Edit:Paste (Ctrl+V) + + + + + + + + Paste places the content of the clipboard in the current diagram. + + + + + + Edit:Delete (Delete) + + + + + + + + To delete blocks or links, select objects to be deleted and then the Delete menu item. + When you delete a block all links connected to it are deleted as well. + + + + + + Edit:Select all (Ctrl+A) + + + Select all the blocks in the current diagram. + + + + + + Edit:Invert selection + + Invert the current selection. + + + + + Edit:Block Parameters (Ctrl+B) + + + + + + + + Open the block configuration dialog for the current selected block. The configuration depends of the used block + (see the block help to obtain more information on its configuration). + + + + + + Edit:Selection to superblock + + + + + + + Convert a selection of blocks into a superblock. + + + + + View menu + + + + + + + + + + View:Zoom in (Ctrl+Plus) + + + + + + + When you select this menu item the diagram is zoomed in by a factor of 10%. + + + + + View:Zoom out (Ctrl+Minus) + + + + + + + When you select this menu item the diagram is zoomed out by a factor of 10%. + + + + + View:Fit diagram to view + + + + + + + When you select this menu item the diagram is fit to the size of the current window. + + + + + View:Normal 100% + + + + + + + Resize the diagram components at their normal displaying dimensions. + + + + + View:Palette browser + + Open the palette browser. + + + + + View:Diagram browser + + + Displays a window which lists the global properties of a diagram and all its objects (blocks and links). It presents in + a tree form the scs_m structure content of the diagram. + + + + + + View:Viewport + + + Display the Viewport window. This window is a complete image of the current diagram. With + the Viewport, you can move the displaying working area onto a part of the diagram. + You can zoom and unzoom part of a diagram. + + + + + + + + + + Above, you have an example of the viewport docked in the Xcos which is used to zoom on a + part of a diagram. On the left the editor window presents the zoomed part of the diagram. + + + + + + View:Details + + + Displays a window by selected block which list properties of block. It presents in a tree form + the scicos_block structure content of the blocks. + + + + + + Simulation menu + + + + + + + + + + Simulation:Setup + + + + + + + + + In the main Xcos window, clicking on the Setup menu item invokes + the dialog box below that allows you to change integration (simulation) parameters: + + + + + + + + + + + + Final integration time: integration (simulation) + ends at this time, it always starts from 0 + + + + + + Real time scaling: forces real time simulation + by setting Xcos simulation in unit of time to 1 second. + + + + + + Absolute and relative error tolerances: solver + properties. + + + + + + Time tolerance: the smallest time interval for which + the ode solver is used to update continuous states. + + + + + + Max integration time interval: the maximum time + interval for each call to solver.it must be reduced if the error message "Too many calls" is encountered + + + + + Solver: select the numerical solver to be used. You have the + choice between an ordinary differential equations (ODE) solver and an algebraic differential + equations solver (IDA). If Xcos detects that your model requires an IDA + solver, Xcos displays an information box on the automatic switching to + the IDA solver. + + + + + + Max step size: maximum time step taken by the solver. This parameter is useful + to search localized singularities in a monotonic system response. For this type of response, the numerical solver + increase automatically the step size for decrease the calculation time. If you think that your system is in this + case, decrease the value of this parameter. + + + + + + Set context: see explanation below + + + + + + Default: this button reset the simulation parameters + to their factory values. + + + + + + For more information on the solver look at the + See Also + + section. + + + + + + Execution Trace and Debug + + + Set Xcos in debug mode. This item opens the following dialog box in which you can choose + the debugging mode. For more information, see the command scicos_debug + + + + + + Simulation:Set Context + + + When you select this menu item you obtain this dialog: + + + + + + + + + + You can enter here Scilab instructions for defining the symbolic Xcos + parameters used in block definitions or to do whatever you want. + + + These instructions will be evaluated each time the diagram is loaded. If you change the value of a symbolic + Xcos parameters in the context, all the blocks that contains this symbolic parameter are + updated when you click on OK. By example if you want to set the value + of gain of several blocks to a value which depends on a single value, you can proceed like this : + + + + + We have three GAINBLK_f blocks, open the Set context dialog and + writes the symbolic variables: + + + + + + + + Then, open successively each block parameters dialog and set for the gain value the name of + required symbolic value, here A, B and + C. + + + + + + + + Simulate:Compile + + + Select the Compile menu item to compile the block diagram. This + menu item need never be used since compilation is performed automatically, if necessary, + before the beginning of every simulation (Run menu item). Normally, + a new compilation is not needed if only system parameters and internal states are modified. + In some cases however these modifications are not correctly updated and a manual compilation may be + needed before a Restart or a Continue. + + + Please report to us if you encounter such a case. + + Report bugs and wishes about Scilab + + + + + + + Simulate:Modelica initialize + + + This menu item opens a specific dialog to the Modelica compiler where you can see the + components of your model and also select the solver between the Kinsol, + Ida, Fsolve, Optim, + Nelder Mead and Hompack solvers. + + + + + + Simulate:Start + + + + + + + + Select the Start menu item to start the simulation. If the system + has already been simulated, a dialog box appears where you can choose to + Continue, Restart or End + the simulation. + + + + + + Simulation:Stop + + + + + + + + You may interrupt the simulation by clicking on the Stop menu item + or on the toolbar button. You can change any of the block parameters and continue the + simulation with the new values. + + + + + + Format menu + + + + + + + + + Format:Rotate (Ctrl+R) + + + + + + + + Rotate allows to turn a block on the left with an of 90°. Rotation affects all the selected blocks. + + + + + + Format:Flip (Ctrl+F) + + + + + + + + To reverse the positions of the activation inputs and outputs set at the top and the bottom of a block, select a block + and select the Flip menu item. This does not affect the order, nor the position of the input and + output event ports which are numbered from left to right. Flipping affects all the selected blocks. + + + + + + Format:Mirror (Ctrl+M) + + + + + + + + To reverse the positions of the (regular) inputs and outputs set on the left and the right of a block, select a + block and select the Mirror menu item. This does not affect the order, nor the position of + the input and output ports which are numbered from top to bottom. Mirroring affects all the selected blocks. + + + + + + Format:Show/Hide shadow + + This menu allows to select 3D shape for selected blocks and associated parameters. + + + + + Format:Align Blocks + + + + + + + + + + When you select several blocks, it is possible to align them on horizontal axis (Top, + Bottom and Middle) or on vertical axis (Left, + Right, Center). + + + + + + Format: Border Color + + + + + + + + This menu allows to change the border color of the selected blocks. + + + + + + Format:Fill Color + + + + + + + This menu allows to change the fill color of the selected blocks. + + + + + Format:Link Style + + + + + + + + + + This menu allows to change the style of the link. + + + First select the link and select the appropriate menu item or use the shortcuts + (H), S, V). + The following list shows the results obtained. + + + + + Horizontal (H) + + + + + + + + + + Straight (S) + + + + + + + + + + Vertical (V) + + + + + + + + + + + + Format: Diagram background + + This menu allows to change the background color. + + + + + Format:Grid + + + This menu allows to activate / deactivate the grid. With the grid, the block and link placement on the working area + is more easy and you obtain a more readable diagram. + + + + + + Tools menu + + + + + + + + + Tools:Code generation + + + This menu allows to generate the simulation code associated with a discrete time Super Block. The code generation + is obtained simply by selecting the Super Block and then this menu. + + + If the Super Block satisfies the required conditions, a dialog box pops up to ask for a block name, a directory where + to put the generated files and for optional libraries requested by the linker. + Given this information the code is generated, compiled and linked with Scilab. + + + The Super Block is automatically replaced by a new block which implements the generated code. It is then possible to + run the modified diagram. The code for standalone use is also generated. + + + + + + Help menu + + + + + + + + + + Help:Xcos Help (F1) + + + + + + + + This menu opens the main help browser (if it is not open) on the Xcos + help chapter. + + + + + + Help:Block Help + + + + + + + + To get help on a Xcos block, select the block and then click on this menu item. + + + + + + Help:Xcos Demonstrations + + + + + + + + The item allows to open some examples of Xcos diagram. + + + + + Help:About Xcos + + + About Xcos item display the current version of Xcos in a dialog. + + + + + + See Also + + + scicos_debug + + + ode + + + dassl + + + + diff --git a/modules/xcos/help/examples/annotations_pal/en_US/text_f_diagram_en_US.png b/modules/xcos/help/examples/annotations_pal/en_US/text_f_diagram_en_US.png new file mode 100755 index 000000000..5ebf25762 Binary files /dev/null and b/modules/xcos/help/examples/annotations_pal/en_US/text_f_diagram_en_US.png differ diff --git a/modules/xcos/help/examples/clss_d1.png b/modules/xcos/help/examples/clss_d1.png new file mode 100755 index 000000000..41e93e879 Binary files /dev/null and b/modules/xcos/help/examples/clss_d1.png differ diff --git a/modules/xcos/help/examples/discontinuities_pal/en_US/deadband_desc_en_US.png b/modules/xcos/help/examples/discontinuities_pal/en_US/deadband_desc_en_US.png new file mode 100755 index 000000000..9c99f229f Binary files /dev/null and b/modules/xcos/help/examples/discontinuities_pal/en_US/deadband_desc_en_US.png differ diff --git a/modules/xcos/help/examples/pid_error.gif b/modules/xcos/help/examples/pid_error.gif new file mode 100755 index 000000000..de9855e1f Binary files /dev/null and b/modules/xcos/help/examples/pid_error.gif differ diff --git a/modules/xcos/help/examples/pid_filter.gif b/modules/xcos/help/examples/pid_filter.gif new file mode 100755 index 000000000..632d52c1a Binary files /dev/null and b/modules/xcos/help/examples/pid_filter.gif differ diff --git a/modules/xcos/help/examples/pid_filter_parameters.png b/modules/xcos/help/examples/pid_filter_parameters.png new file mode 100755 index 000000000..0b08518ab Binary files /dev/null and b/modules/xcos/help/examples/pid_filter_parameters.png differ diff --git a/modules/xcos/help/examples/pid_law.gif b/modules/xcos/help/examples/pid_law.gif new file mode 100755 index 000000000..c45f4dff4 Binary files /dev/null and b/modules/xcos/help/examples/pid_law.gif differ diff --git a/modules/xcos/help/examples/pid_structure.png b/modules/xcos/help/examples/pid_structure.png new file mode 100755 index 000000000..4b0e3b01a Binary files /dev/null and b/modules/xcos/help/examples/pid_structure.png differ diff --git a/modules/xcos/help/examples/scilab_utilities_functions/en_US/block_parameter_error_en_US.png b/modules/xcos/help/examples/scilab_utilities_functions/en_US/block_parameter_error_en_US.png new file mode 100755 index 000000000..5a90ce761 Binary files /dev/null and b/modules/xcos/help/examples/scilab_utilities_functions/en_US/block_parameter_error_en_US.png differ diff --git a/modules/xcos/help/examples/scilab_utilities_functions/fr_FR/block_parameter_error_fr_FR.png b/modules/xcos/help/examples/scilab_utilities_functions/fr_FR/block_parameter_error_fr_FR.png new file mode 100755 index 000000000..e5d6d95d0 Binary files /dev/null and b/modules/xcos/help/examples/scilab_utilities_functions/fr_FR/block_parameter_error_fr_FR.png differ diff --git a/modules/xcos/help/examples/variable_delay1.png b/modules/xcos/help/examples/variable_delay1.png new file mode 100755 index 000000000..56b7cb67b Binary files /dev/null and b/modules/xcos/help/examples/variable_delay1.png differ diff --git a/modules/xcos/help/examples/variable_delay_with_equations.png b/modules/xcos/help/examples/variable_delay_with_equations.png new file mode 100755 index 000000000..a095ca7d6 Binary files /dev/null and b/modules/xcos/help/examples/variable_delay_with_equations.png differ diff --git a/modules/xcos/help/fr_FR/addchapter.sce b/modules/xcos/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..ccd1be468 --- /dev/null +++ b/modules/xcos/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Xcos",SCI+"/modules/xcos/help/fr_FR",%T); + diff --git a/modules/xcos/help/fr_FR/batch_functions/CHAPTER b/modules/xcos/help/fr_FR/batch_functions/CHAPTER new file mode 100755 index 000000000..bc40d0a4a --- /dev/null +++ b/modules/xcos/help/fr_FR/batch_functions/CHAPTER @@ -0,0 +1 @@ +title = Fonctions Batch diff --git a/modules/xcos/help/fr_FR/palettes/Annotations_pal/AA_Annotations_pal.xml b/modules/xcos/help/fr_FR/palettes/Annotations_pal/AA_Annotations_pal.xml new file mode 100755 index 000000000..d45eebd36 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Annotations_pal/AA_Annotations_pal.xml @@ -0,0 +1,52 @@ + + + + + Annotations_pal + Palette Annotations + + + Aperçu + + + + + + + + + + Module + + + + xcos + + + + + + Description + Cette palette inclut les blocs utilisés pour les annotations. + + + Blocs + + + + TEXT_f - Annotation libre + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Annotations_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Annotations_pal/CHAPTER new file mode 100755 index 000000000..5af542fc6 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Annotations_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Annotations diff --git a/modules/xcos/help/fr_FR/palettes/Annotations_pal/TEXT_f.xml b/modules/xcos/help/fr_FR/palettes/Annotations_pal/TEXT_f.xml new file mode 100755 index 000000000..1a4e95fcc --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Annotations_pal/TEXT_f.xml @@ -0,0 +1,234 @@ + + + + + TEXT_f + Annotation libre + + + Aperçu + + + + + + + + + + Contenu + + + + Annotation libre + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Annotations + + + + + + Description + + Ce bloc spécial est utilisé uniquement pour ajouter du texte à n'importe quel endroit du schéma. Il n'a aucun effet sur la simulation. + + + Vous pouvez ajouter ce bloc directement par un double clic de souris dans une zone libre du schéma. + + + Après l'ajout, faîtes une double clic sur le bloc et écrivez votre texte. Si vous voulez plus de contrôle sur le texte + (type et taille de police, couleurs), un clic de souris à droite montre un menu contextuel. Choisissez le sous-menu + Edition... de l'item Format. Cet item ouvre le dialogue à onglets ci-dessous, + dans lequel vous pouvez modifier les paramètres de texte. + + + Note : l'interface suivant est aussi utilisé pour modifier le texte de commentaire et l'apparence des autres blocs. + + + + Boîte de dialogue + + + + + + + + + + + + + + + + + Réglage de texte + + + Dans cet onglet, vous pouvez modifier votre texte et son apparence avec la taille, la famille et le style de police, + Vous pouvez aussi utiliser certaines balises HTML pour contrôler l'affichage de votre texte. Depuis la version 5.2 de + Scilab, il est possible d'écrire des expressions + LaTeX or MathML + + . + + + + + Onglets de couleur + + + L'utilisation de ces onglets est la même pour les couleurs du texte, de la bordure ou du fond. Vous pouvez régler la couleur par quatre + méthodes : + + + + Couleurs HSV (teinte, saturation, valeur). + + + Couleurs RVB (rouge, vert, bleu). + + + Couleur HTML : couleur RVB sous la forme d'une chaîne de trois nombres hexadécimaux deux chiffres (RRVVBB) précédée par le caractère "#". + + + Cercle de couleur HSV : déplacez le petit segment blanc autour du cercle pour régler la teinte, et déplacez le petit cercle dans le triangle pour régler la saturation et la valeur. + + + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + text + + + + + + Exemple + + La figure ci-dessous montre quelques exemples d'annotations. + + Ouvrez cet exemple dans Xcos + + et sélectionnez Format puis Edition dans le menu contextuel pour changer les paramètres du texte. + + + + + + + + + + Voir aussi + + + Rendu mathématique + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml new file mode 100755 index 000000000..7fe970495 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml @@ -0,0 +1,234 @@ + + + + + Commonlyusedblocks_pal + Palette Blocs couramment utilisés + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + Dans la palette Blocs couramment utilisés, vous trouverez les blocs + des autres palettes utilisés par la plupart des modèles. + + + + Blocks + + + + ANDBLK - ET d'activation + + + + + BIGSOM_f - Somme + + + + + CMSCOPE - Oscilloscope multi-voies + + + + + CONST_m - Constante + + + + + CONVERT - Conversion de type de données + + + + + CSCOPXY - Graphe y=f(x) permanent + + + + + DEMUX - Démultiplexeur + + + + + DOLLAR_f - Opérateur retard + + + + + INTEGRAL_f - Intégration + + + + + IN_f - Port d'entrée + + + + + LOGICAL_OP - Opération logique + + + + + MUX - Multiplexeur + + + + + NRMSOM_f - Fusion de données + + + + + OUT_f - Port de sortie + + + + + PRODUCT - Produit + + + + + RELATIONALOP — Opération relationnelle + + + + + SATURATION - Saturation + + + + + SWITCH2_m - Commutateur 2 voies + + + + + TEXT_f - Texte + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/CHAPTER new file mode 100755 index 000000000..953b8b796 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Blocs couramment utilisés diff --git a/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml new file mode 100755 index 000000000..2240c4b41 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml @@ -0,0 +1,228 @@ + + + + + LOGICAL_OP + Opération logique + + + Aperçu + + + + + + + + + + Contenu + + + + Opération logique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + + + + Palette + + + + Palette Blocs couramment utilisés + + + + + + Description + + Le bloc Opération logique effectue l'opération logique spécifiée sur ses entrées. + Une valeur d'entrée est VRAIE (1) si elle est différente de zéro et FAUSSE (0) si + elle est égale à zéro. + + + + Boîte de dialogue + + + + + + + + + + + + + + number of inputs + + Le nombre d'entrées du bloc. La valeur doit être appropriée à l'opérateur sélectionnné. + Propriétés : Type 'vec' de taille 1 + + + + Operator: AND + + L'opérateur logique à appliquer sur les entrées du bloc. Les choix possibles sont les opérateurs de la liste. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + logicalop + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Misc/LOGICAL_OP.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/logicalop.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i32.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i16.c + + + SCI/modules/scicos_blocks/src/c/logicalop_i8.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui32.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui16.c + + + SCI/modules/scicos_blocks/src/c/logicalop_ui8.c + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml new file mode 100755 index 000000000..60f044bdd --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml @@ -0,0 +1,224 @@ + + + + + RELATIONALOP + Opération Relationnelle + + + Aperçu + + + + + + + + + + Contenu + + + + Opération Relationnelle + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + + + + Palette + + + + Palette Blocs couramment utilisés + + + + + + Description + Il effectue une comparaison logique sur ses deux entrées. + + + Boîte de dialogue + + + + + + + + + + + + + + Operator: == + + Définit l'opérateur relationnel utilisé pour comparer les deux entrées. + Propriétés : Type 'vec' de taille 1 + + + + Use zero crossing + + Sélectionnez-le pour valider la détection du passage à zéro. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + relationalop + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Misc/RELATIONALOP.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/relational_op.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i32.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i16.c + + + SCI/modules/scicos_blocks/src/c/relational_op_i8.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui32.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui16.c + + + SCI/modules/scicos_blocks/src/c/relational_op_ui8.c + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/AA_Continuous_pal.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/AA_Continuous_pal.xml new file mode 100755 index 000000000..010a3c262 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/AA_Continuous_pal.xml @@ -0,0 +1,147 @@ + + + + + Continuous_pal + Palette Systèmes à temps continu + + + Aperçus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + La palette Systèmes à temps continu contient les blocs linéaires de base. + + + Blocs + + + + CLINDUMMY_f — Dummy (Factice) + + + + + CLR — Fonction de transfert continue + + + + + CLSS - Représentation d'état en temps continu + + + + + DERIV - Dérivée + + + + + INTEGRAL_f - Intégration + + + + + INTEGRAL_m — Intégration + + + + + PID - Régulateur PID + + + + + TCLSS — Système continu linéaire avec saut + + + + + TIME_DELAY - Retard pur + + + + + VARIABLE_DELAY — Retard pur variable + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CHAPTER new file mode 100755 index 000000000..f0c6166c1 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Systèmes à temps continu diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLINDUMMY_f.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLINDUMMY_f.xml new file mode 100755 index 000000000..44b9ed143 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLINDUMMY_f.xml @@ -0,0 +1,144 @@ + + + + + CLINDUMMY_f + Dummy (Factice) + + + Aperçu + + + + + + + + + + Contenu + + + + Dummy (Factice) + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + + Ce bloc doit être inclus dans tout schéma-bloc qui contient un bloc avec détection + de passage à zéro mais aucun système avec état continu. Ce bloc est nécessaire + en raison de l'utilisation du solveur ode pour trouver les surfaces de passage à zéro. + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: oui + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + cdummy + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/CLINDUMMY_f.sci + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLR.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLR.xml new file mode 100755 index 000000000..fdfa69f7c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLR.xml @@ -0,0 +1,209 @@ + + + + + CLR + Fonction de transfert continue + + + Aperçu + + + + + + + + + + Contenu + + + + Fonction de transfert continue + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + + Ce bloc réalise une système linaire représenté par sa fonction de transfert rationnelle Numerator/Denominator. La fraction rationnelle doit être propre (degré du dénominateur + inférieur ou égal à degré du numérateur). + + + + + Boîte de dialogue + + + + + + + + + + + + + + Numerator + + Ce paramètre initialise le numérateur de la fonction de transfert. + Ce doit un être un polynôme en s. + Propriétés Type 'pol' de taille 1. + + + + Denominator + + Ce paramètre initialise le dénominateur de la fonction de transfert. + Ce doit un être un polynôme en s. + Propriétés Type 'pol' de taille 1. + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: oui + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csslti4 + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/CLR.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLSS.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLSS.xml new file mode 100755 index 000000000..e2559b68b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/CLSS.xml @@ -0,0 +1,349 @@ + + + + + CLSS + Représentation d'état en temps continu + + + Aperçu + + + + + + + + + + Contenu + + + + Représentation d'état en temps continu + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + palette + + + + + + + Description + Ce bloc réalise une représentation d'état linéaire en temps continu + + + \begin{matrix} + \dot{x} = A \cdot x + B \cdot u \\ + y = C \cdot x + D \cdot u + \end{matrix} + + + + où x est le vecteur des + variables d'état, u le vecteur des fonctions d'entrée et + y le vecteur des variables de sortie. + + + Le système est défini par les matrices (A, B, C, D) et l'état initial X0. + Les dimensions doivent être compatibles. + + + + Boîte de dialogue + + + + + + + + + + + A matrix + + + La matrice carrée A. + + Propriétés Type 'mat' de taille [-1,-1]. + + + + B matrix + + + La matrice B , [] Ssi le système n'a pas d'entrées. + + Propriétés Type 'mat' de taille ["size(%1,2)","-1"]. + + + + C matrix + + + La matrice C, [] si le système n'a pas de sorties. + + Propriétés Type 'mat' de taille ["-1","size(%1,2)"]. + + + + D matrix + + + La matrice D, [] si le système n'a pas de terme D. + + Propriétés Type 'mat' de taille [-1,-1]. + + + + Initial state + + Un vecteur/scalaire : l'état initial du système. + Propriétés Type 'vec' de taille "size(%1,2)". + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state:oui + + + + + discrete-time state: non + + + + + object discrete-time state:non + + + + + name of computational function: + csslti4 + + + + + + Exemple + Cet exemple illustre l'utilisation du bloc CLSS pour simuler et afficher + la forme d'onde en sortie y(t)=Vc(t) du circuit RLC ci-dessous. + + + + + + + + + Les équations pour un circuit RLC sont les suivantes. Elles résultent des lois en tension + de Kirchhoff's et de la loi de Newton. + + + + + R, L et C sont les résistance, inductance et capacité du système. + + Nous définissons la tension aux bornes de la capacité Vc et le courant + dans l'inductance iL comme variables d'état + X1 et X2. + + + + + thus + + x_1 = i_L = C\frac{\mathrm{d} v_C }{\mathrm{d} t} = C\dot{x_2} + + En réarrangeant ces équations on obtient : + + + + Ces équations peuvent être mises sous forme d'un système matriciel comme suit , + + + + L'équation de sortie requise est : + + + + Le schéma suivant montre ces équations modéllisées dans Xcos où + R=10Ω, L=5 mΗ et C=0,1µF; Les états initiaux sont x1=0 et x2=0,5. + + Pour obtenir la sortie Vc(t) on utilise le bloc CLSS de la palette Systèmes à temps continu. + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/CLSS.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/DERIV.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/DERIV.xml new file mode 100755 index 000000000..a337144bc --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/DERIV.xml @@ -0,0 +1,212 @@ + + + + + DERIV + Dérivée + + + Aperçu + + + + + + + + + + Contenu + + + + Dérivée + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + Le bloc dérivée approxime la dérivée instantanée de son entrée par rapport au temps t. + Il mesure la variation de la sortie en fonction de la variation de l'entée Δu. La dérivée est donnée par : + + $$ + y(t) = {u(t) - u(t-h)} over h + $$ + + Le bloc dérivée n'a pas de paramètres et la valeur initiale de la sortie pour le bloc est zéro. + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + non + + + + + discrete-time state: non + + + + + object discrete-time state: + non + + + + + name of computational function: + deriv + + + + + + Exemple + Dans cet exemple, nous calculons et affichons la forme d'onde dérivée d'un signal d'entrée + sinusoïdal, d'amplitude 2 et de frequence 1,25 Hz. + + Les formes d'onde de l'entrée et de la sortie du bloc DERIVATIVE sont montrées ci-dessous : + + + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/DERIV.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/deriv.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_f.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_f.xml new file mode 100755 index 000000000..539984644 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_f.xml @@ -0,0 +1,194 @@ + + + + + INTEGRAL_f + Intégration + + + Aperçu + + + + + + + + + + Contenu + + + + Intégration + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + Ce bloc est un intégrateur. La sortie est l'intégrale de l'entrée. + + + Boîte de dialogue + + + + + + + + + + + + Initial Condition + + Un scalaire qui donne les conditions initiales. + Propriétés Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state:oui + + + + + discrete-time state: non + + + + + object discrete-time state:non + + + + + name of computational function: + integr + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/integr.f (Type 0) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_m.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_m.xml new file mode 100755 index 000000000..896e07375 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/INTEGRAL_m.xml @@ -0,0 +1,304 @@ + + + + + INTEGRAL_m + Intégration + + + Aperçu + + + + + + + + + + Contenu + + + + Intégration + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + DescriptionCe bloc est un intégrateur. La sortie y est l'intégrale de l'entrée u à l'instant courant t. + + + + + + + + + où y0 est une condition initiale et t0 est le temps correspondant à cette condition. + + + Boîte de dialogue + La boîte de dialogue des paramètres vous permet de définir : + + + La condition initiale avec ou sans limite de saturation. + + + + + Les limites haute et basse sur l'intégrale. + + + Elle vous permet aussi d'ajouter une port d'événement au bloc dans le but de réinitialiser + son état aux conditions initiales spécifiées. + + Dans ce cas, la valeur du signal de réinitialisation dépend d'un signal extèrieur. + + + + + + + + + + + + + Initial Condition + + Un vecteur/scalaire : les conditions initiales . + Avec ce paramètre, on peut définir le type de données des entrées/sorties. + Elles peuvent être de type réel ou complexe. + + Propriétés Type 'mat' de taille [-1,-1]. + + + + With re-initialization + + Pour réinitialiser l'état aux conditions initiales spécifiées en fonction de la sélection + par un signal extèrieur.1 . + + Propriétés Type 'vec' de taille 1. + + + + With saturation + + S'il est sélectionné, il limite les états aux valeurs entre les limites de saturation définies + par les paramètres Lower limit and Upper limit. + + Propriétés Type 'vec' de taille 1. + + + + Upper limit + + La limite haute pour l'intégrale. + Propriétés Type 'mat' de taille [-1,-1]. + + + + Lower limit + + La limite basse pour l'intégrale. + Propriétés Type 'mat' de taille [-1,-1]. + + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state:oui + + + + + discrete-time state: nonn + + + + + object discrete-time state:non + + + + + name of computational function: + integral_func + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_m.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/integral_func.c + + + SCI/modules/scicos_blocks/src/c/integralz_func.c + + + + + Examples + + Exemple 1 + Cet exemple de modèle montre comment utiliser le port d'état de l'intégrateur. + Le paramètre de ré-initialisation est mis à 1, La limite haute à 1 et la limite basse à -1. + + + + + + + + + + + + + + Exemple 2 + + + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/PID.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/PID.xml new file mode 100755 index 000000000..138f1ff01 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/PID.xml @@ -0,0 +1,260 @@ + + + + + PID + Régulateur PID + + + Aperçu + + + + + + + + + + Contenu + + + + Régulateur PID + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Contenu du Superbloc compilé + + + + + Exemples + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + + Ce bloc implante un régulateur PID. Le calcul (algorithme) du régulateur PID invoque trois paramètres séparés; Les coefficients d'action Proportionnelle, Intégrale et Dérivée. Le coefficient d'action Proportionnelle détermine la réaction à l'erreur courante, l'Intégrale détermine la réaction à la somme des erreurs récentes et la Dérivée détermine la réaction à la vitesse à laquelle l'erreur est modifiée. La somme pondérée de ces trois actions est utilisée pour ajuster le processus à travers un élément de contrôle tel que la position d'une vanne de régulation ou l'alimentation de puissance d'un élément chauffant. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Proportional + + La valeur du gain qui multiplie l'erreur. + Propriétés Type 'vec' de taille -1. + + + + Integral + + La valeur du temps d'intégration de l'erreur.(1/Integral) + Propriétés Type 'vec' de taille -1. + + + + Derivation + + La valeur du temps de dérivation de l'erreur. + Propriétés Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/PID.sci + + + + + Contenu du Superbloc compilé + + + + + + + + + + Exemples + + Exemple 1 + + + + + + + + + + + + Exemple 2 + + + + + + + + + + + + Exemple 3 + + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/TCLSS.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/TCLSS.xml new file mode 100755 index 000000000..bea558d94 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/TCLSS.xml @@ -0,0 +1,262 @@ + + + + + TCLSS + Système continu linéaire avec saut + + + Aperçu + + + + + + + + + + Contenu + + + + Système continu linéaire avec saut + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + + Ce bloc réalise une représentation d'état d'un système continu linéaire + avec la possibilité de sauts dans les états. Le nombre d'entrées de ce + bloc est de deux. La première entrée est l'entrée régulière du système linéaire, + la seconde transporte la nouvelle valeur de l'état qui est copié + dans l'état du système quand un événement se produit sur l'unique port d'entrée d'activation de ce bloc. + Ce qui signifie que l'état du système saute à la valeur présente sur la seconde entrée + (de taille égale à celle de l'état). Le système est défini par les matrices (A,B,C,D) et l'état initial x_0. + Les dimensions doivent être compatibles. Les tailles des entrées et sorties sont ajustées automatiquement. + + + + + Boîte de dialogue + + + + + + + + + + + + + + A matrix + + + La matrice carrée A. + + Propriétés Type 'mat' de taille [-1,-1]. + + + + B matrix + + + La matrice B,[] si le système n'a pas d'entrées. + + Propriétés Type 'mat' de taille ["size(%1,2)","-1"]. + + + + C matrix + + + La matrice C, [] si le système n'a pas de sorties. + + Propriétés Type 'mat' de taille ["-1","size(%1,2)"]. + + + + D matrix + + + La matrice D, [] si le système n'a pas de terme D. + + Propriétés Type 'mat' de taille [-1,-1]. + + + + Initial state + + Un vecteur/scalaire : l'état initial du système. + Propriétés Type 'vec' de taille "size(%1,2)". + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: oui + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + tcslti4 + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/TCLSS.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/tcslti4.c (Type 4) + + + + + Exemple + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/TIME_DELAY.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/TIME_DELAY.xml new file mode 100755 index 000000000..23c744640 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/TIME_DELAY.xml @@ -0,0 +1,235 @@ + + + + + TIME_DELAY + Retard pur + + + Aperçu + + + + + + + + + + Contenu + + + + Retard pur + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + Description + + Le bloc Retard pur retarde l'entrée d'un temps spécifié. + Il peut être utilisé pour simuler un retard. Au début de la simulation + la sortie du bloc est égale au paramètre Initial input jusqu'à ce que + le temps de simulation dépasse le paramètre de temps Delay, ensuite le bloc + commence à générer l'entrée retardée. + + Le paramètre Time delay ne doit pas être négatif. + + + + Boîte de dialogue + + + + + + + + + + + + + + Delay + + La quantité de temps de simulation dont le signal d'entrée est retardé avant d'être propagé en sortie. La valeur doit être non-négative. + Propriétés Type 'vec' de taille 1 + + + + Initial input + + La sortie générée par le bloc entre le début de la simulation et le temps Delay. + Propriétés Type 'vec' de taille 1 + + + + Buffer size + + L'allocation mémoire initiale du nombre de points à mémoriser. + Propriétés Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + time_delay + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/TIME_DELAY.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/time_delay.c (Type 4) + + + + + Exemple + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Continuous_pal/VARIABLE_DELAY.xml b/modules/xcos/help/fr_FR/palettes/Continuous_pal/VARIABLE_DELAY.xml new file mode 100755 index 000000000..584f223e5 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Continuous_pal/VARIABLE_DELAY.xml @@ -0,0 +1,266 @@ + + + + + VARIABLE_DELAY + Retard pur variable + + + Aperçu + + + + + + + + + + Contenu + + + + Retard pur variable + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Systèmes à temps continu + + + + + + DescriptionLe bloc Retard pur variable peut être utilisé pour simuler un délai variable + entre une action et son effet. Le bloc est utilisé, par exemple, pour modéliser + un système avec un tube où la vitesse de pompage du fluide dans le tube est variable. + + Le bloc accepte deux entrées et une sortie : la première entrée est le + signal u(t) qui passe à travers le bloc (entrée de donnée); la seconde entrée + est le temps de retard variable τ(t). + + + + + + + + + A l'instant t, le bloc sort l'entrée retardée u(θ) où θ + est le temps de simulation courant t moins le paramètre de retard τ. + + L'équation du signal de sortie est : + e est + + y(t) = y(θ) - u(t - τ(t)) + + + + Boîte de dialogue + + + + + + + + + + + + Max delay + + Il définit la plus grande valeur admissible sur l'entrée de retard. La + valeur ne peut pas être négative. + + Propriétés Type 'vec' de taille 1. + + + + initial input + + La sortie générée par le bloc jusqu'à ce que le temps de simulation + atteigne pour la première fois le temps donné sur l'entrée de retard. + Si cette valeur n'est pas égale à y(τ), une approximation linéaire + sera calculée entre la valeur initiale à t0 et la valeur à y(τ). + + Propriétés : Type 'vec' de taille 1. + + + + Buffer size + + Le nombre de points que le bloc peut mémoriser. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: oui + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state:non + + + + + discrete-time state: non + + + + + object discrete-time state:non + + + + + name of computational function: + variable_delay + + + + + + Exemple + Dans cet exemple, le temps de retard maximum dans le dialogue des Paramètres de Bloc + est mis à 4. Le signal d'entrée est une onde sinusoïdale d'amplitude 1 et de fréquence 0,2 Hz. + + Le bloc constant est initialisé à 2 pour introduire un délai de 2 secondes. Les formes d'ondes en entrée et + en sortie du bloc VARIABLE_DELAY sont montrées ci-dessous : + + + + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/VARIABLE_DELAY.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/variable_delay.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Demonstrationsblocks_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Demonstrationsblocks_pal/CHAPTER new file mode 100755 index 000000000..ebff39a5e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Demonstrationsblocks_pal/CHAPTER @@ -0,0 +1 @@ +title = Demonstrations blocks palette diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml new file mode 100755 index 000000000..444de2b0d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/AA_Discontinuous_pal.xml @@ -0,0 +1,115 @@ + + + + + discontinuities_pal + Palette Fonctions discontinues + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + La palette Fonctions discontinues contient les blocs dont les sorties sont des fonctions + discontinues de leurs entrées. + + + + Blocs + + + + BACKLASH - Backlash (Jeu) + + + + + DEADBAND - Zone morte + + + + + DELAYV_f — Délai variable + + + + + HYSTHERESIS — Hystérésis (relais) + + + + + RATELIMITER - Limitation de vitesse + + + + + QUANT_f - Quantification + + + + + SATURATION — Saturation + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/BACKLASH.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/BACKLASH.xml new file mode 100755 index 000000000..00ec33bf8 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/BACKLASH.xml @@ -0,0 +1,239 @@ + + + + + BACKLASH + Backlash (jeu) + + + Aperçu + + + + + + + + + + Contenu + + + + Backlash (jeu) + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + + + + Palette + + + + Palette Fonctions discontinues + + + + + + Description + + Le bloc Backlash permet de représenter un système présentant un jeu mécanique tel + un système d'engrenages. + Quand l'entrée augmente (diminue), une modification de l'entrée du bloc Backlash provoque + une modification égale sur sa sortie. Quand l'entrée change de direction, le système + est désengagé pendant un court instant (le jeu est appelé + zone morte + + ou gap). + Ainsi, au moment initial du changement, l'entrée n'a pas d'effet et la sortie reste constante. + Ensuite, les modfication de l'entrée donne les mêmes modifcations sur la sortie, jusqu'au prochain + changement de driection de l'entrée. + + + + Boîte de dialogue + + + + + + + + + + + + + + initial output + + La valeur initiale de la sortie. + Propriétés : Type 'vec' de taille 1 + + + + gap + + La grandeur de la zone morte. + Propriétés : Type 'vec' de taille 1 + + + + use zero-crossing + + Sélectionner la détection de passage à zéro pour trouver le franchissement des seuils hauts et bas. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: oui + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + backlash + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Misc/BACKLASH.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/backlash.c (Type 4) + + + + + Exemple + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/CHAPTER new file mode 100755 index 000000000..938740ca5 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Fonctions discontinues diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/DEADBAND.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/DEADBAND.xml new file mode 100755 index 000000000..126b029a1 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/DEADBAND.xml @@ -0,0 +1,289 @@ + + + + + DEADBAND + Zone morte + + + Aperçu + + + + + + + + + + Contenu + + + + Zone morte + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Discontinuities + palette + + + + + + + Description + Le bloc Zone morte fournit une zone avec une sortie égale à zéro. + + Elle définit la gamme de variation de l'entrée pour laquelle la sortie reste inchangée. + En dehors de cette étendue il y a une relation linéaire entre l'entrée de + la zone morte u(k) et la sortie de la zone morte v(k). + + Un exemple de graphique d'une zone morte particulière est donné ci-dessous : + + + + + + + + + + Défini par: + + c_{E} + \end{cases} + ]]> + + Avec + + c_{S}]]> + + + Quand l'entrée u(k) est entre Cs et CE, la sortie v(k) est zéro. + Quand l'entrée est supérieure ou égale à la limite haute CE, la sortie + est égale à l'entrée moins la limite haute. Quand l'entrée est inférieure + ou égale à la limite inférieure Cs, la sortie est égale à l'entrée moins + la limite inférieure. + + + + Boîte de dialogue + + + + + + + + + + + + End of dead band + + La limite haute de la zone morte. + Propriétés : Type 'vec' de taille 1 + + + + Start of dead band + + La limite basse de la zone morte. + Propriétés : Type 'vec' de taille 1 + + + + zero crossing + + Sélectionner la détection de passage à zéro pour détecter le franchissement des limites. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: oui + + + + + mode: oui + + + + + regular inputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + regular outputs: + + + - port 1 : size [1,1] / type + 1 + + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + non + + + + + discrete-time state: non + + + + + object discrete-time state: + non + + + + + name of computational function: + deadband + + + + + + Exemple + Ce qui suit est un exemple de système avec zone morte. + + + + + + + + + + + L'entrée est un signal sinusoïdal. L'amplitude est initialisée à 2, la fréquence + à 1,25 et la phase à 0. Le bloc Zone morte a les paramètres suivants : + + + + + Ce graphique montre l'effet de la zone morte sur un signal sinusoïdal. + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Misc/DEADBAND.sci + + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/deadband.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/HYSTHERESIS.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/HYSTHERESIS.xml new file mode 100755 index 000000000..958aa862d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/HYSTHERESIS.xml @@ -0,0 +1,249 @@ + + + + + HYSTHERESIS + Hystérèsis (relais) + + + Aperçu + + + + + + + + + + Contenu + + + + Hystérèsis (relais) + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Fonctions discontinues + + + + + + Description + + Commute la sortie entre deux constantes. Le bloc Hysthérésis permet à ses sorties + de commuter entre deux valeurs spécifiées. Quand le relais est fermé, il le + reste jusqu'à ce que l'entrée descende en dessous de la valeur du paramètre + Switch off at. Quand le relais est ouvert, il le reste jusqu'à ce que + l'entrée excéde la valeur du paramètre Switch on at. Le bloc accepte une + entrée et génére une sortie. + + + + Boîte de dialogue + + + + + + + + + + + + + + switch on at + + + Le paramètre Switch on at est converti dans le type de données de + l'entrée (relais ouvert) en utilisant un arrondi à la plus proche + valeur et la saturation. + + Propriétés : Type 'vec' de taille 1 + + + + switch off at + + + Le paramètre Switch off at est converti dans le type de données de + l'entrée (relais ouvert) en utilisant un arrondi à la plus proche + valeur et la saturation. + + Propriétés : Type 'vec' de taille 1 + + + + output when on + + La sortie quand le relais est fermé. + Propriétés : Type 'vec' de taille 1 + + + + output when off + + La sortie quand le relais est ouvert. + Propriétés : Type 'vec' de taille 1 + + + + use zero crossing: yes + + Sélectionner la détection de passage à zéro pour trouver les points Switch-on et Switch-off. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: no + + + + + direct-feedthrough: yes + + + + + zero-crossing: yes + + + + + mode: yes + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + hystheresis + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Misc/HYSTHERESIS.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/hystheresis.c (Type 4) + + + + + Exemple d'utilisation du relais Hystérèsis + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/RATELIMITER.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/RATELIMITER.xml new file mode 100755 index 000000000..9ab233e23 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/RATELIMITER.xml @@ -0,0 +1,218 @@ + + + + + RATELIMITER + Limitation de vitesse + + + Aperçu + + + + + + + + + + Contenu + + + + Limitation de vitesse + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Fonctions discontinues + + + + + + Description + + Le bloc Limitation de vitesse limite la dérivée première du signal qui le traverse. + La sortie ne change pas plus vite que la limite spécifiée. + + + + Boîte de dialogue + + + + + + + + + + + + + + max slope + + La limite sur la dérivée d'un signal d'entrée croissant. + Propriétés : Type 'vec' de taille 1 + + + + min slope + + La limite sur la dérivée d'un signal d'entrée décroissant. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + ratelimiter + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Misc/RATELIMITER.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/ratelimiter.c (Type 4) + + + + + Exemple divisant la pente de l'entrée par 3 : + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/SATURATION.xml b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/SATURATION.xml new file mode 100755 index 000000000..7de07c45a --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discontinuities_pal/SATURATION.xml @@ -0,0 +1,233 @@ + + + + + SATURATION + Saturation + + + Aperçu + + + + + + + + + + Contenu + + + + Saturation + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Fonctions discontinues + + + + + + Description + + Le bloc Saturation impose des limites haute et basse sur un signal. Quand + le signal d'entrée est à l'intérieur de la gamme spécifiée par les paramètres + Lower limit et Upper limit, le signal d'entrée traverse le bloc sans modification. + Quand le signal est en dehors de ces limites , le signal est coupé à la limite + haute ou basse. Si les paramètres Lower limit et Upper limit ont la même valeur, + la sortie du bloc est égale à cette valeur. + + + + Boîte de dialogue + + + + + + + + + + + + + + Upper limit + + Spécifie la limite haute sur le signal d'entrée. Quand le signal d'entrée du bloc Saturation est supérieur à cette + valeur, la sortie du bloc est coupée à cette valeur. + + Propriétés : Type 'vec' de taille 1 + + + + Lower limit + + Spécifie la limite basse sur le signal d'entrée. Quand le signal d'entrée du bloc Saturation est inférieur à cette + valeur, la sortie du bloc est coupée à cette valeur. + + Propriétés : Type 'vec' de taille 1 + + + + zero crossing + + Valide la détection de passage à zéro. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: oui + + + + + mode: oui + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + satur + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/SATURATION.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/satur.c (Type 4) + + + + + Exemple imposant 0.6 comme valeur maximale à un sinus : + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/AA_Discrete_pal.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/AA_Discrete_pal.xml new file mode 100755 index 000000000..9e915cad2 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/AA_Discrete_pal.xml @@ -0,0 +1,134 @@ + + + + + Discrete_pal + Palette Systèmes à temps discret + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + La palette Systèmes à temps discret contient les blocs de modélisation en temps discret. + + + Blocks + + + + DELAY_f — Retard en temps discret + + + + + DELAYV_f — Retard variable + + + + + DLR — Fonction de transfert discrète + + + + + DLRADAPT_f — Fonction de transfert discrète (Pôles & zéros) + function + + + + + + DLSS — Représentation d'état en temps discret + + + + + DOLLAR_f — Opérateur retard + + + + + REGISTER — Registre à décalage + + + + + SAMPHOLD_m — Echantilonneur-bloqueur + + + + + TCLSS — Système continu linéaire avec saut + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Discrete_pal/CHAPTER new file mode 100755 index 000000000..24157e280 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Systèmes à temps discret diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAYV_f.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAYV_f.xml new file mode 100755 index 000000000..62d96fd7d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAYV_f.xml @@ -0,0 +1,258 @@ + + + + + DELAYV_f + Délai variable + + + Aperçu + + + + + + + + + + Contenu + + + + Délai variable + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + + Le bloc Délai variable peut être utilisé pour simuler un délai variable + entre une action et son effet. Le bloc est utilisé, par exemple, pour modéliser + un système avec un tube où la vitesse de pompage du fluide dans le tube est variable. + + + Le bloc accepte deux entrées et une sortie : la première entrée est le + signal u(t) qui passe à travers le bloc (entrée de donnée); la seconde entrée + est le temps de retard variable τ(t). + + + Les ports de sortie d'activiation se déclenchent tous les + "Max delay"/length("Register initial condition"). + + + Le port d'entrée d'activation et le premier port de sortie d'activation doivent être reliés, + pour obtenir les variations du délai d'entrée τ(t). + + + Le délai final est : τ(t) + "Max delay"/length("Register initial condition"). + + + + Boîte de dialogue + + + + + + + + + + + + Number of inputs + + La taille des vecteurs du premier port d'entrée régulier et du port de sortie régulier. + Propriétés : Type 'vec' de taille 1. + + + + Register initial condition + + Longueur et conditions initiales du registre. + Propriétés : Type 'vec' de taille -1. + + + + Max delay + + Définit la plus grande valeur que peut prendre l'entrée de retard. La valeur ne doit pas être négative. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 2 + + + + + continuous-time state:non + + + + + discrete-time state: oui + + + + + object discrete-time state:non + + + + + name of computational function: + delayv + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/DELAYV_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/delayv.f (Type 1) + + + + + Exemple de délai variable + + Dans cet exemple, la fonction sinus (en noir) est retardée alternativement de 0 et 1 seconde. + L'amplitude du bloc GENSQR_f est fixée à 2, mais le paramètre "Max delay" du bloc DELAVV_f + bride cette valeur à 1. + On voit qu'à chaque fois que GENSQR_f est activé (toutes les 2*π secondes), le délai change : + tour à tour, les courbes se superposent (délai=0) et sont décalées (délai=1). + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAY_f.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAY_f.xml new file mode 100755 index 000000000..9c02e05e7 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DELAY_f.xml @@ -0,0 +1,251 @@ + + + + + DELAY_f + Retard en temps discret + + + Block Screenshot + + + + + + + + + + Contents + + + + Retard en temps discret + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + + Ce bloc implémente un retard à temps discret. Il est construit avec un registre à décalage et une horloge. Le retard est donnée par la pas de temps discret multiplié par le nombre d'états du registre moins un. + + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Pas de temps discret + + Valeur de la période. + Propriétés : Type 'vec' de taille 1. + + + + État initiale du registre + + Valeur à l'instant initial du registre. La taille de ce vecteur conditionne le retard. + Propriétés : Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + Exemple + + + + + + + + + + + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Linear/DELAY_f.sci + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLR.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLR.xml new file mode 100755 index 000000000..6362b8736 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLR.xml @@ -0,0 +1,212 @@ + + + + + DLR + Fonction de transfert discrète + + + Aperçu + + + + + + + + + + Contenu + + + + Fonction de transfert discrète + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + + Ce bloc réalise un système linéaire SISO représenté par sa fonction de transfert rationnelle (avec la variable symbolique z). + La fonction rationnelle doit être propre. + + + + Boîte de dialogue + + + + + + + + + + + + + + Numerator (z) + + Ce paramètre définit le numérateur de la fonction de transfert. + + Ce doit être un polynôme en z . + + Propriétés : Type 'pol' de taille 1. + + + + Denominator (z) + + Ce paramètre définit le dénominateur de la fonction de transfert. + + Ce doit être un polynôme en z . + + Propriétés : Type 'pol' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + dsslti4 + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/DLR.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/dsslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLRADAPT_f.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLRADAPT_f.xml new file mode 100755 index 000000000..6897fa8f9 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLRADAPT_f.xml @@ -0,0 +1,244 @@ + + + + + DLRADAPT_f + Fonction de transfert discrète (Pôles & zéros) + + + Aperçu + + + + + + + + + + Contenu + + + + Fonction de transfert discrète (Pôles & zéros) + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + Ce bloc modèlise un système représenté par les zéros et les pôles de la fonction de transfert discréte. + + + Boîte de dialogue + + + + + + + + + + + + Vector of p mesh points + + The parameter description 1. + Propriétés : Type 'vec' de taille -1. + + + + Numerator roots (one line for each + mesh) + + + The parameter description 2. + Propriétés : Type 'mat' de taille [-1,-1]. + + + + Denominator roots (one line for each + mesh) + + + The parameter description 3. + Propriétés : Type 'mat' de taille ["size(%1,''*'')","-1"]. + + + + Vector of gain at mesh points + + The parameter description 4. + Propriétés : Type 'vec' de taille "size(%1,''*'')". + + + + past inputs (Num degree values) + + The parameter description 5. + Propriétés : Type 'vec' de taille "size(%2,2)". + + + + past outputs (Den degree values) + + The parameter description 6. + Propriétés : Type 'vec' de taille "size(%3,2)". + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + - port 2 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + non + + + + + discrete-time state: oui + + + + + object discrete-time state: + non + + + + + name of computational function: + dlradp + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/DLRADAPT_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/dlradp.f (Type 0) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLSS.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLSS.xml new file mode 100755 index 000000000..9f4c4d259 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DLSS.xml @@ -0,0 +1,239 @@ + + + + + DLSS + Représentation d'état en temps discret + + + Aperçu + + + + + + + + + + Contenu + + + + Représentation d'état en temps discret + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + + Ce bloc réalise une représentation d'état en temps discret d'un système. Le système est défini + par les matrices et l'état initial. Les dimensions doivent être compatibles. L'état est mis à + jour lorsque un événement se produit sur l'unique port d'activation unique. + + + + Boîte de dialogue + + + + + + + + + + + + + + A matrix + + + La matrice carrée $A$ + + Propriétés : Type 'mat' de taille [-1,-1]. + + + + B matrix + + + La matrice $B$ + ,[] si le système n'a pas d'entrées. + + Propriétés : Type 'mat' de taille ["size(%1,2)","-1"]. + + + + C matrix + + + La matrice $C$ + ,[] si le système n'a pas de sorties. + + Propriétés : Type 'mat' de taille ["-1","size(%1,2)"]. + + + + D matrix + + + La matrice $D$ + matrix, [] si le système n'a pas de terme D. + + Propriétés : Type 'mat' de taille [-1,-1]. + + + + Initial state + + Un vecteur/scalaire : état initial du système. + Propriétés : Type 'vec' de taille "size(%1,2)". + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + dsslti4 + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/DLSS.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/dsslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/DOLLAR_f.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DOLLAR_f.xml new file mode 100755 index 000000000..14917c8ea --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/DOLLAR_f.xml @@ -0,0 +1,236 @@ + + + + + DOLLAR_f + Opérateur Retard + + + Aperçu + + + + + + + + + + Contenu + + + + Opérateur Retard + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + Le bloc Retard unitaire retarde son entrée de la période d'échantillonage spécifiée. + Ce bloc est équivalent à l'opérateur discret 1/z. Le bloc accepte une entrée et génére une sortie, + qui peut être un scalaire ou un vecteur. Si l'entrée est une vecteur, tous les éléments du vecteur sont + retardés de la même période d'échantillonage. + + + + Boîte de dialogue + + + + + + + + + + + + initial condition + + La sortie de la simulation pour la première période d'échantillonage, + pendant laquelle la sortie du bloc Retard unitaire est indéfinie. + + Propriétés : Type 'vec' de taille -1. + + + + Inherit (no:0, yes:1) + + Quand "Inherit" est mis à yes, le bloc hérite de son entrée d'activation. + Propriétés : Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 1 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + non + + + + + discrete-time state: oui + + + + + object discrete-time state: + non + + + + + name of computational function: + dollar + + + + + + Exemple + + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/DOLLAR_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/dollar.f (Type 0) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Discrete_pal/REGISTER.xml b/modules/xcos/help/fr_FR/palettes/Discrete_pal/REGISTER.xml new file mode 100755 index 000000000..4d0203503 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Discrete_pal/REGISTER.xml @@ -0,0 +1,241 @@ + + + + + REGISTER + Registre à décalage + + + Aperçu + + + + + + + + + + Contenu + + + + Registre à décalage + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Systèmes à temps discret + + + + + + Description + + Ce bloc réalise un registre à décalage. A chaque activation, le contenu du registre est décalé d'un pas. + + + + Boîte de dialogue + + + + + + + + + + + + + + Register initial condition + + Un vecteur colonne. Il contient l'état initial du registre. + Propriétés : Type 'vec' de taille -1 + + + + Datatype + + Ce bloc supporte tous les types de données en plus du type complexe. + Propriétés : Type 'vec' de taille -1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + delay4 + + + + + + Exemple + + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/REGISTER.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/delay4_i32.c + + + SCI/modules/scicos_blocks/src/c/delay4_i16.c + + + SCI/modules/scicos_blocks/src/c/delay4_i8.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui32.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui16.c + + + SCI/modules/scicos_blocks/src/c/delay4_ui8.c + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/AA_Electrical_pal.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/AA_Electrical_pal.xml new file mode 100755 index 000000000..430aaba68 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/AA_Electrical_pal.xml @@ -0,0 +1,272 @@ + + + + + Electrical_pal + Palette électrique + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + La boîte à outils Electrique contient les composants électrique de base tels que : source de tension, diode, capacité, etc. + + + Blocks + + + + Capacitor - Capacité électrique + + + + + CCS - Source de courant contrôlable Modelica + + + + + ConstantVoltage - Source de tension continue + + + + + CurrentSensor - Capteur de courant électrique + + + + + CVS - Source de tension contrôlable Modelica + + + + + Diode - Diode électrique + + + + + Ground - Masse (Référence du potentiel zéro) + + + + + Gyrator - Gyrateur Modelica + + + + + IdealTransformer - Transformateur idéal + + + + + Inductor - Inductance électrique + + + + + NMOS - Transistor NMOS simple + + + + + NPN - Transistor NPN + + + + + OpAmp - Amplificateur opérationnel idéal (Paire norator-nullator) + + + + + PMOS - Transistor PMOS simple + + + + + PNP - Transistor PNP + + + + + PotentialSensor - Capteur de tension + + + + + Resistor - Résistance électrique + + + + + SineVoltage - Source de tension sinusoïdale + + + + + Switch - Interrupteur non-idéal + + + + + VariableResistor - Résistance électrique variable + + + + + VoltageSensor - Capteur de tension électrique + + + + + VsourceAC - Source de tension sinusoïdale + + + + + VVsourceAC -Source de tension variable sinusoïdale + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/CCS.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CCS.xml new file mode 100755 index 000000000..4c3953422 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CCS.xml @@ -0,0 +1,164 @@ + + + + + CCS + Source de courant contrôlable Modelica + + + Aperçu + + + + + + + + + + Contenu + + + + Source de courant contrôlable Modelica + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + Ce bloc est une source de courant idéale. La valeur du courant est contrôlée + à l'aide de l'entrée explicite du bloc (connectée aux blocs standard Xcos). + La tension aux bornes du bloc est indépendante de la valeur du courant.. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name :'Iin' + + + Explicit variable. + + + + + Modelica variable name :'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name :'n' + + + Implicit variable. + + + + + + + File name of the model :CCS + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/CCS.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/CCS.mo + + + + + Voir aussi + + + + CVS - Source de tension contrôlable Modelica + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CHAPTER new file mode 100755 index 000000000..e667aedab --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Electrique diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/CVS.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CVS.xml new file mode 100755 index 000000000..0a0faa271 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CVS.xml @@ -0,0 +1,167 @@ + + + + + CVS + Source de tension contrôlable Modelica + + + Aperçu + + + + + + + + + + Contenu + + + + Source de tension contrôlable Modelica + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Ce bloc est une source de tension idéale. La valeur de la tension est contrôlée à + travers une entrée explicite du bloc (connectée aux blocs standard Xcos). Le courant + passant à travers le bloc est indépendant de la tension aux bornes du bloc. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name :'vin' + + + Explicit variable. + + + + + Modelica variable name :'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name :'n' + + + Implicit variable. + + + + + + + File name of the model :CVS + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/CVS.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/CVS.mo + + + + + Voir aussi + + + + CCS - Controllable Modelica current + source + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Capacitor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Capacitor.xml new file mode 100755 index 000000000..3710f2176 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Capacitor.xml @@ -0,0 +1,209 @@ + + + + + Capacitor + Capacité électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Capacité électrique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Une capacité est un composant qui dans un circuit électrique peut stocker de l'énergie. + La relation entre la tension aux bornes de la capacité et le courant la traversant est donnée par : + + $ I = C \mathrm{d}V \ over \mathrm{d}t $ + + Les capacités peuvent aussi être utilisées pour discriminer les signaux de haute et basse fréquences, + ce qui les rend utiles dans les filtres électroniques. Une capacité a une grande impédance pour les signaux de + basse fréquence. + + + + Boîte de dialogue + + + + + + + + + + + + + + C (F) + + Capacité + Propriétés : Type 'vec' de taille 1. + + + + Initial Voltage + + Tension initiale + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'C' + + + Default value : 0.01 + + + Is a state variable : non. + + + + + Modelica parameter name : 'v' + + + Default value : 0 + + + Is a state variable : oui. + + + + + + + File name of the model : Capacitor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Capacitor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Capacitor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/ConstantVoltage.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/ConstantVoltage.xml new file mode 100755 index 000000000..9192b7e6d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/ConstantVoltage.xml @@ -0,0 +1,187 @@ + + + + + ConstantVoltage + Source de tension continue + + + Aperçu + + + + + + + + + + Contenu + + + + Source de tension continue + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Ce composant est un modèle pour tout dispositif ou système qui produit une + force électromotrice entre ses ports. La tension de sortie de cette source + de tension continue est définie par l'utilisateur. Le port noir indique le + pôle positif. La résistance interne de cette source de tension est nulle. + + + + Boîte de dialogue + + + + + + + + + + + + + + V (volt) + + Output voltage + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'V' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + File name of the model : ConstantVoltage + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/ConstantVoltage.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/ConstantVoltage.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/CurrentSensor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CurrentSensor.xml new file mode 100755 index 000000000..7a93184f3 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/CurrentSensor.xml @@ -0,0 +1,150 @@ + + + + + CurrentSensor + Capteur de courant électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Capteur de courant électrique + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Ce bloc est inséré en série dans un circuit électrique pour mesurer le courant + le traversant. La mesure est donnée à la partie explicite du modèle à travers + une sortie explicite. Par convention, le courant entrant sur le port noir est + considéré positif. La résistance interne de ce bloc est nulle. + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + Modelica variable name : 'i' + + + Explicit variable. + + + + + + + File name of the model : CurrentSensor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/CurrentSensor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/CurrentSensor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Diode.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Diode.xml new file mode 100755 index 000000000..7577d5700 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Diode.xml @@ -0,0 +1,254 @@ + + + + + Diode + Diode électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Diode électrique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Ce composant est constitué d'une diode simple en parallèle avec une résistance (R). Le courant (I )traversant ce composant est défini + comme une fonction de la tension à ses bornes, V : + + + + où + Ids + et + Vt + sont respectivement le courant de saturation et + l'équivalent de tension de température. Si l'exponentielle franchit une certaine limite + (Max exponent for linear continuation), la caractéristique + de la diode devient linéaire afin d'éviter un débordement de capacité numérique. + + + + Boîte de dialogue + + + + + + + + + + + + + + Saturation current (A) + + Courant de saturation + Propriétés : Type 'vec' de taille 1. + + + + Voltage equivalent to temperature (Volt) + + Equivalent de tension de température + Propriétés : Type 'vec' de taille 1. + + + + Max exponent for linear continuation + + Maximum d'exponentielle pour la linéarisation + Propriétés : Type 'vec' de taille 1. + + + + R (ohm) + + Résistance ohmique parallèle. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'Ids' + + + Default value : 0.000001 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.04 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Maxexp' + + + Default value : 15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'R' + + + Default value : 1.000E+08 + + + Is a state variable : no. + + + + + + + File name of the model : Diode + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Diode.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Diode.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Ground.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Ground.xml new file mode 100755 index 000000000..f86c4b49f --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Ground.xml @@ -0,0 +1,126 @@ + + + + + Ground + Masse (Référence du potentiel zéro) + + + Aperçu + + + + + + + + + + Contenu + + + + Masse (Référence du potentiel zéro) + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + L'élément Ground est composant à port unique fournissant une référence de tension + dans les circuits électriques. Le potentiel au noeud de masse est nul. + Chaque circuit électrique doit contenir au moins un élément Ground. + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + File name of the model : Ground + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Ground.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Ground.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Gyrator.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Gyrator.xml new file mode 100755 index 000000000..9d5826951 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Gyrator.xml @@ -0,0 +1,213 @@ + + + + + Gyrator + Gyrateur Modelica + + + Aperçu + + + + + + + + + + Contenu + + + + Gyrateur Modelica + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boïte à outils Electrique + + + + + + Description + + Un gyrateur est un élément à deux ports défini par les équations suivantes : i1 = G2 * v2 i2 = -G1 * v1 où les constantes G1, G2 sont appelées conductances de gyration. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + G1 + + Conductance de gyration (-i2/v1) . + Propriétés : Type 'vec' de taille 1. + + + + G2 + + Conductance de gyration (i1/v2). + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p1' + + + Implicit variable. + + + + + Modelica variable name : 'n1' + + + Implicit variable. + + + + + Modelica variable name : 'p2' + + + Implicit variable. + + + + + Modelica variable name : 'n2' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'G1' + + + Default value : 1 + + + Is a state variable : no. + + + + + Modelica parameter name : 'G2' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + File name of the model : Gyrator + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Gyrator.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Gyrator.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/IdealTransformer.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/IdealTransformer.xml new file mode 100755 index 000000000..8772a771c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/IdealTransformer.xml @@ -0,0 +1,209 @@ + + + + + IdealTransformer + Transformateur idéal + + + Aperçu + + + + + + + + + + Contenu + + + + Transformateur idéal + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils Electrique + + + + + + Description + + Le transformateur idéal est un élément de circuit électrique résistif à deux ports qui est caractérisé + par les deux équations suivantes : v1 = n * v2 i2 = -n * i1 où n est un nombre réel appelé rapport de + transformation. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + N + + Rapport de transformation (N1/N2) + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p1' + + + Implicit variable. + + + + + Modelica variable name : 'n1' + + + Implicit variable. + + + + + Modelica variable name : 'p2' + + + Implicit variable. + + + + + Modelica variable name : 'n2' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'N' + + + Default value : 1 + + + Is a state variable : no. + + + + + + + File name of the model : IdealTransformer + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/IdealTransformer.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/IdealTransformer.mo + + + + + Exemple d'utilisation du Transformateur idéal + + + + + + + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Inductor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Inductor.xml new file mode 100755 index 000000000..b83c084fb --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Inductor.xml @@ -0,0 +1,194 @@ + + + + + Inductor + Inductance électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Inductance électrique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + L'inductance est un composant de circuit électrique qui peut stocker de l'énergie. + La relation entre la tension aux bornes de l'inductance et le courant la traversant + est donnée par : + + + + Les inductances peuvent aussi être utilisées pour discriminer les signaux de haute et basse fréquences, + ce qui les rend utiles dans les filtres électroniques. Une inductance a une grande impédance pour + les signaux de haute fréquence. + + + + Boîte de dialogue + + + + + + + + + + + + + + L (H) + + Inductance + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'L' + + + Default value : 0.00001 + + + Is a state variable : no. + + + + + + + File name of the model : Inductor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Inductor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Inductor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/NMOS.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/NMOS.xml new file mode 100755 index 000000000..0724892fa --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/NMOS.xml @@ -0,0 +1,576 @@ + + + + + NMOS + Transistor NMOS simple + + + Aperçu + + + + + + + + + + Contenu + + + + Transistor NMOS simple + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + + Le modèle NMOS est une modèle simple de semiconducteur FET métal-oxyde canal n. + Il différe légérement du dispositif utilisé dans le simulateur SPICE. + Pour plus de détails référez-vous à H. Spiro. + + + Le modèle ne tient pas compte des capacités. Une petite résistance drain-source + est incluse (pour éviter les difficultés numériques). + + + + + W [m] + L [m] + Beta [1/V²] + Vt [V] + K2 + K5 + DW [m] + DL[m] +   + + + 12.e-6 + 4.e-6 + .062 + -4.5 + .24 + .61 + -1.2e-6 + -.9e-6 + depletion + + + 60.e-6 + 3.e-6 + .048 + .1 + .08 + .68 + -1.2e-6 + -.9e-6 + enhancement + + + 12.e-6 + 4.e-6 + .0625 + -.8 + .21 + .78 + -1.2e-6 + -.9e-6 + zero + + + 50.e-6 + 8.e-6 + .0299 + .24 + 1.144 + .7311 + -5.4e-6 + -4.e-6 +   + + + 20.e-6 + 6.e-6 + .041 + .8 + 1.144 + .7311 + -2.5e-6 + -1.5e-6 +   + + + 30.e-6 + 9.e-6 + .025 + -4. + .861 + .878 + -3.4e-6 + -1.74e-6 +   + + + 30.e-6 + 5.e-6 + .031 + .6 + 1.5 + .72 + 0 + -3.9e-6 +   + + + 50.e-6 + 6.e-6 + .0414 + -3.8 + .34 + .8 + -1.6e-6 + -2.e-6 + depletion + + + 50.e-6 + 5.e-6 + .03 + .37 + .23 + .86 + -1.6e-6 + -2.e-6 + enhancement + + + 50.e-6 + 6.e-6 + .038 + -.9 + .23 + .707 + -1.6e-6 + -2.e-6 + zero + + + 20.e-6 + 4.e-6 + .06776 + .5409 + .065 + .71 + -.8e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .06505 + .6209 + .065 + .71 + -.8e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .05365 + .6909 + .03 + .8 + -.3e-6 + -.2e-6 +   + + + 20.e-6 + 4.e-6 + .05365 + .4909 + .03 + .8 + -.3e-6 + -.2e-6 +   + + + 12.e-6 + 4.e-6 + .023 + -4.5 + .29 + .6 + 0 + 0 + depletion + + + 60.e-6 + 3.e-6 + .022 + .1 + .11 + .65 + 0 + 0 + enhancement + + + 12.e-6 + 4.e-6 + .038 + -.8 + .33 + .6 + 0 + 0 + zero + + + 20.e-6 + 6.e-6 + .022 + .8 + 1 + .66 + 0 + 0 +   + + + + + Boîte de dialogue + + + + + + + + + + + + Width [m] + + W + Propriétés : Type 'vec' de taille 1. + + + + Length [m] + + L + Propriétés : Type 'vec' de taille 1. + + + + Transconductance parameter[A/(V*V)] + + Beta + Propriétés : Type 'vec' de taille 1. + + + + Zero bias threshold voltage [V] + + Vt + Propriétés : Type 'vec' de taille 1. + + + + Bulk threshold parameter + + K2 + Propriétés : Type 'vec' de taille 1. + + + + Reduction of pinch-off region + + K5 + Propriétés : Type 'vec' de taille 1. + + + + Narrowing of channel [m] + + dW + Propriétés : Type 'vec' de taille 1. + + + + Shortening of channel [m] + + dL + Propriétés : Type 'vec' de taille 1. + + + + Drain-Source-Resistance [Ohm] + + RDS + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name :'G' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name :'D' + + + Implicit variable. + + + + + Modelica variable name :'B' + + + Implicit variable. + + + + + Modelica variable name :'S' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name :'W' + + + Default value :0.00002 + + + Is a state variable :no. + + + + + Modelica parameter name :'L' + + + Default value :0.000006 + + + Is a state variable :no. + + + + + Modelica parameter name :'Beta' + + + Default value :0.000041 + + + Is a state variable :no. + + + + + Modelica parameter name :'Vt' + + + Default value : 0.8 + + + Is a state variable :no. + + + + + Modelica parameter name :'K2' + + + Default value :1.144 + + + Is a state variable :no. + + + + + Modelica parameter name :'K5' + + + Default value :0.7311 + + + Is a state variable :no. + + + + + Modelica parameter name :'dW' + + + Default value :-0.0000025 + + + Is a state variable :no. + + + + + Modelica parameter name :'dL' + + + Default value :-0.0000015 + + + Is a state variable :no. + + + + + Modelica parameter name :'RDS' + + + Default value :10000000 + + + Is a state variable :no. + + + + + + + File name of the model :NMOS + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/NMOS.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/NMOS.mo + + + + + Voir aussi + + + + PMOS - Transistor PMOS simple + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/NPN.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/NPN.xml new file mode 100755 index 000000000..4d8f80ec0 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/NPN.xml @@ -0,0 +1,474 @@ + + + + + NPN + Transistor NPN + + + Aperçu + + + + + + + + + + Contenu + + + + Transistor NPN + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce modèle est celui d'un simple transistor à jonction bipolaire NPN conforme au modèle d'Ebers-Moll. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Parameter + Default value + Description + + + Bf + 50 + Forward beta + + + Br + 0.1 + Reverse beta + + + Is + 1.e-16 + Transport saturation current [A] + + + Vak + 0.02 + Early voltage (inverse), 1/Volt [1/V] + + + Tauf + 0.12e-9 + Ideal forward transit time [s] + + + Taur + 5e-9 + Ideal reverse transit time [s] + + + Ccs + 1e-12 + Collector-substrat(ground) cap. [F] + + + Cje + 0.4e-12 + Base-emitter zero bias depletion cap. [F] + + + Cjc + 0.5e-12 + Base-coll. zero bias depletion cap. [F] + + + Phie + 0.8 + Base-emitter diffusion voltage [V] + + + Me + 0.4 + Base-emitter gradation exponent + + + Phic + 0.8 + Base-collector diffusion voltage [V] + + + Mc + 0.333 + Base-collector gradation exponent + + + Gbc + 1e-15 + Base-collector conductance [S] + + + Gbe + 1e-15 + Base-emitter conductance [S] + + + Vt + 0.02585 + Voltage equivalent of temperature [V] + + + EMin + -100 + if x < EMin, the exp(x) function is linearized + + + EMax + 40 + if x > EMax, the exp(x) function is linearized + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'B' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'C' + + + Implicit variable. + + + + + Modelica variable name : 'E' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'Bf' + + + Default value : 50 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Br' + + + Default value : 0.1 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Is' + + + Default value : 0 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vak' + + + Default value : 0.02 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Tauf' + + + Default value : 1.200E-10 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Taur' + + + Default value : 5.000E-09 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Ccs' + + + Default value : 1.000E-12 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Cje' + + + Default value : 4.000E-13 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Cjc' + + + Default value : 5.000E-13 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Phie' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Me' + + + Default value : 0.4 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Phic' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Mc' + + + Default value : 0.333 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Gbc' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Gbe' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.02585 + + + Is a state variable : no. + + + + + Modelica parameter name : 'EMinMax' + + + Default value : 40 + + + Is a state variable : no. + + + + + + + File name of the model : NPN + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/NPN.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/NPN.mo + + + + + Voir aussi + + + + PNP - Transistor PNP + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/OpAmp.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/OpAmp.xml new file mode 100755 index 000000000..77c47f8bc --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/OpAmp.xml @@ -0,0 +1,149 @@ + + + + + OpAmp + Amplificateur opérationnel idéal (Paire norator-nullator) + + + Aperçu + + + + + + + + + + Contenu + + + + Amplificateur opérationnel idéal (norator-nullator pair) + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + L'amplificateur opérationnel idéal est un composant deux ports. Le port de gauche est fixé à v1=0 et i1=0 (nullator). + Sur le port de droite la tension v2 et le courant i2 sont arbitraires (norator). + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'in_p' + + + Implicit variable. + + + + + Modelica variable name : 'in_n' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'out' + + + Implicit variable. + + + + + + + File name of the model : OpAmp + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/OpAmp.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/OpAmp.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/PMOS.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PMOS.xml new file mode 100755 index 000000000..d41738f98 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PMOS.xml @@ -0,0 +1,449 @@ + + + + + PMOS + Transistor PMOS simple + + + Aperçu + + + + + + + + + + Contenu + + + + Transistor PMOS simple + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Le modèle PMOS est une modèle simple de semiconducteur FET métal-oxyde canal p. + Il différe légérement du dispositif utilisé dans le simulateur SPICE. + Pour plus de détails référez-vous à H. Spiro. + + + Le modèle ne tient pas compte des capacités. Une petite résistance drain-source + est incluse (pour éviter les difficultés numériques). + + Quelques jeux de paramètres typiques : + + + + W [m] + L[m] + Beta [1/V²] + Vt [V] + K2 + K5 + DW [m] + DL [m] + + + 50.e-6 + 8.e-6 + .0085 + -.15 + .41 + .839 + -3.8e-6 + -4.0e-6 + + + 20.e-6 + 6.e-6 + .0105 + -1.0 + .41 + .839 + -2.5e-6 + -2.1e-6 + + + 30.e-6 + 5.e-6 + .0059 + -.3 + .98 + 1.01 + 0 + -3.9e-6 + + + 30.e-6 + 5.e-6 + .0152 + -.69 + .104 + 1.1 + -.8e-6 + -.4e-6 + + + 30.e-6 + 5.e-6 + .0163 + -.69 + .104 + 1.1 + -.8e-6 + -.4e-6 + + + 30.e-6 + 5.e-6 + .0182 + -.69 + .086 + 1.06 + -.1e-6 + -.6e-6 + + + 20.e-6 + 6.e-6 + .0074 + -1. + .4 + .59 + 0 + 0 + + + + + Boîte de dialogue + + + + + + + + + + + + Width [m] + + W + Propriétés : Type 'vec' de taille 1. + + + + Length [m] + + L + Propriétés : Type 'vec' de taille 1. + + + + Transconductance parameter + [A/(V*V)] + + + Beta + Propriétés : Type 'vec' de taille 1. + + + + Zero bias threshold voltage [V] + + Vt + Propriétés : Type 'vec' de taille 1. + + + + Bulk threshold parameter + + K2 + Propriétés : Type 'vec' de taille 1. + + + + Reduction of pinch-off region + + K5 + Propriétés : Type 'vec' de taille 1. + + + + Narrowing of channel [m] + + dW + Propriétés : Type 'vec' de taille 1. + + + + Shortening of channel [m] + + dL + Propriétés : Type 'vec' de taille 1. + + + + Drain-Source-Resistance [Ohm] + + RDS + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name :'G' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name :'D' + + + Implicit variable. + + + + + Modelica variable name :'B' + + + Implicit variable. + + + + + Modelica variable name :'S' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name :'W' + + + Default value :0.00005 + + + Is a state variable :no. + + + + + Modelica parameter name :'L' + + + Default value :0.000006 + + + Is a state variable :no. + + + + + Modelica parameter name :'Beta' + + + Default value :0.0000105 + + + Is a state variable :no. + + + + + Modelica parameter name :'Vt' + + + Default value : -1 + + + Is a state variable :no. + + + + + Modelica parameter name :'K2' + + + Default value : 0.41 + + + Is a state variable :no. + + + + + Modelica parameter name :'K5' + + + Default value :0.839 + + + Is a state variable :no. + + + + + Modelica parameter name :'dW' + + + Default value :-0.0000025 + + + Is a state variable :no. + + + + + Modelica parameter name :'dL' + + + Default value :-0.0000021 + + + Is a state variable :no. + + + + + Modelica parameter name :'RDS' + + + Default value :10000000 + + + Is a state variable :no. + + + + + + + File name of the model :PMOS + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/PMOS.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/PMOS.mo + + + + + Voir aussi + + + + NMOS - Transistor NMOS simple + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/PNP.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PNP.xml new file mode 100755 index 000000000..f30ad9eda --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PNP.xml @@ -0,0 +1,474 @@ + + + + + PNP + Transistor PNP + + + Aperçu + + + + + + + + + + Contenu + + + + Transistor PNP + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + Voir aussi + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce modèle est celui d'un simple transistor à jonction bipolaire PNP conforme au modèle d'Ebers-Moll. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Parameter + Default value + Description + + + Bf + 50 + Forward beta + + + Br + 0.1 + Reverse beta + + + Is + 1.e-16 + Transport saturation current [A] + + + Vak + 0.02 + Early voltage (inverse), 1/Volt [1/V] + + + Tauf + 0.12e-9 + Ideal forward transit time [s] + + + Taur + 5e-9 + Ideal reverse transit time [s] + + + Ccs + 1e-12 + Collector-substrat(ground) cap. [F] + + + Cje + 0.4e-12 + Base-emitter zero bias depletion cap. [F] + + + Cjc + 0.5e-12 + Base-coll. zero bias depletion cap. [F] + + + Phie + 0.8 + Base-emitter diffusion voltage [V] + + + Me + 0.4 + Base-emitter gradation exponent + + + Phic + 0.8 + Base-collector diffusion voltage [V] + + + Mc + 0.333 + Base-collector gradation exponent + + + Gbc + 1e-15 + Base-collector conductance [S] + + + Gbe + 1e-15 + Base-emitter conductance [S] + + + Vt + 0.02585 + Voltage equivalent of temperature [V] + + + EMin + -100 + if x < EMin, the exp(x) function is linearized + + + EMax + 40 + if x > EMax, the exp(x) function is linearized + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'B' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'C' + + + Implicit variable. + + + + + Modelica variable name : 'E' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'Bf' + + + Default value : 50 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Br' + + + Default value : 0.1 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Is' + + + Default value : 0 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vak' + + + Default value : 0.02 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Tauf' + + + Default value : 1.200E-10 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Taur' + + + Default value : 5.000E-09 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Ccs' + + + Default value : 1.000E-12 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Cje' + + + Default value : 4.000E-13 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Cjc' + + + Default value : 5.000E-13 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Phie' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Me' + + + Default value : 0.4 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Phic' + + + Default value : 0.8 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Mc' + + + Default value : 0.333 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Gbc' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Gbe' + + + Default value : 1.000E-15 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Vt' + + + Default value : 0.02585 + + + Is a state variable : no. + + + + + Modelica parameter name : 'EMinMax' + + + Default value : 40 + + + Is a state variable : no. + + + + + + + File name of the model : PNP + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/PNP.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/PNP.mo + + + + + Voir aussi + + + + NPN - Transistor NPN + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/PotentialSensor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PotentialSensor.xml new file mode 100755 index 000000000..663ec5de9 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/PotentialSensor.xml @@ -0,0 +1,141 @@ + + + + + PotentialSensor + Capteur de tension + + + Aperçu + + + + + + + + + + Contenu + + + + Capteur de tension + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce bloc est utilisée pour mesurer un potentiel par rapport au potentiel de référence + (bloc Ground) dans un circuit électrique. Le potentiel + est fourni à la partie explicite du modèle à travers un port de sortie explicite. + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'v' + + + Explicit variable. + + + + + + + File name of the model : PotentialSensor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/PotentialSensor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/PotentialSensor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Resistor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Resistor.xml new file mode 100755 index 000000000..cf12c266d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Resistor.xml @@ -0,0 +1,201 @@ + + + + + Resistor + Résistance électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Résistance électrique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Une résistance est un composant électrique à deux ports qui s'oppose au passage du courant + ( + + I + + )en produisant une chute de tension + ( + + V + + )entre ses bornes en accord avec + la loi d'Ohm. + + $$ R = I \over V $$ + + La résistance électrique (R) est égale + à la différence de potentiel entre les bornes (V) de la résistance divisée par le courant + (I) traversant la résistance. + + + + Boîte de dialogue + + + + + + + + + + + + + + R (ohm) + + Résistance + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'R' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + + + File name of the model : Resistor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Resistor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Resistor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/SineVoltage.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/SineVoltage.xml new file mode 100755 index 000000000..36cf0759c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/SineVoltage.xml @@ -0,0 +1,258 @@ + + + + + SineVoltage + Source de tension sinusoïdale + + + Aperçu + + + + + + + + + + Contenu + + + + Source de tension sinusoïdale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce bloc Modelica est une source de tension sinusoïdale générale. La résistance interne est nulle. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Amplitude (Volt) + + Amplitude de la tension sinusoïdale + Propriétés : Type 'vec' de taille 1. + + + + phase (rad) + + Déphasage du signal sinusoïdal + Propriétés : Type 'vec' de taille 1. + + + + Frequency (Hz) + + Fréquence du signal sinusoïdal + Propriétés : Type 'vec' de taille 1. + + + + Voltageoffset (V) + + Composante continue du signal sinusoïdal + Propriétés : Type 'vec' de taille 1. + + + + Timeoffset (s) + + Temps initial. Pendant le temps initial, la valeur du signal est égale à VoltageOffset. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'V' + + + Default value : 1 + + + Is a state variable : no. + + + + + Modelica parameter name : 'phase' + + + Default value : 0 + + + Is a state variable : no. + + + + + Modelica parameter name : 'freqHz' + + + Default value : 1 + + + Is a state variable : no. + + + + + Modelica parameter name : 'offset' + + + Default value : 0 + + + Is a state variable : no. + + + + + Modelica parameter name : 'startTime' + + + Default value : 0 + + + Is a state variable : no. + + + + + + + File name of the model : SineVoltage + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/SineVoltage.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/Switch.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Switch.xml new file mode 100755 index 000000000..29e2b1eed --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/Switch.xml @@ -0,0 +1,214 @@ + + + + + Switch + Interrupteur électrique non idéal + + + Aperçu + + + + + + + + + + Contenu + + + + Interrupteur électrique non idéal + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + C'est un interrupteur non idéal à deux pôles. Si l'entrée explicite devient positive, les deux bornes sont connectées à travers + une résistance de valeur (RON). Sinon, les deux bornes sont connectées à travers la résistance ROFF. Notez que + l'utilisation de ce bloc peut aboutir à un modèle raide (stiff model), essayez de choisir des tolérances sur l'erreur appropriées. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Resistance in On state (Ohm) + + Résistance de l'interrupteur quand celui-ci est fermé + Propriétés : Type 'vec' de taille 1. + + + + Resistance in Off state (Ohm) + + Résistance de l'interrupteur quand celui-ci est ouvert + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + Modelica variable name : 'inp' + + + Explicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'Ron' + + + Default value : 0.01 + + + Is a state variable : no. + + + + + Modelica parameter name : 'Roff' + + + Default value : 100000 + + + Is a state variable : no. + + + + + + + File name of the model : Switch + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/Switch.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/Switch.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/VVsourceAC.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VVsourceAC.xml new file mode 100755 index 000000000..fc454f9dd --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VVsourceAC.xml @@ -0,0 +1,195 @@ + + + + + VVsourceAC + Source de tension variable sinusoïdale + + + Aperçu + + + + + + + + + + Contenu + + + + Source de tension variable sinusoïdale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Le bloc source de tension variable est un modèle pour une source de tension contrôlée. + Ce composant fournit une tension sinusoïdale entre ses bornes. L'amplitude de la tension + de sortie est gouvernée par le port d'entrée explicite et la fréquence est définie par l'utilisateur + La résistance interne est nulle. + + + + Boîte de dialogue + + + + + + + + + + + + + + Frequency (Hz) + + Fréquence de la tension de sortie sinusoïdale + Propriétés : Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + Modelica variable name : 'VA' + + + Explicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'f' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + File name of the model : VVsourceAC + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/VVsourceAC.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/VVsourceAC.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/VariableResistor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VariableResistor.xml new file mode 100755 index 000000000..dfbe26a5b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VariableResistor.xml @@ -0,0 +1,150 @@ + + + + + VariableResistor + Résistance électrique variable + + + Aperçu + + + + + + + + + + Contenu + + + + Résistance électrique variable + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce composant représente une résistance ohmique variable. La résistance + (Rx) est contrôlée + par un port explicite. + + $$ R_x = V \over I $$ + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + Modelica variable name : 'R' + + + Explicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + File name of the model : VariableResistor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/VariableResistor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/VariableResistor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/VoltageSensor.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VoltageSensor.xml new file mode 100755 index 000000000..5e9a6a84c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VoltageSensor.xml @@ -0,0 +1,153 @@ + + + + + VoltageSensor + Capteur de tension électrique + + + Aperçu + + + + + + + + + + Contenu + + + + Capteur de tension électrique + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce composant est utilisé pour mesurer la différence de tension entre deux noeuds + d'un circuit électrique. Le signal de sortie est la différence entre les tensions + du port noir et du port blanc : + + $$ V_{sortie} = V_{noir} - V_{blanc} $$ + + La conductance interne de ce bloc est nulle. + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + Modelica variable name : 'v' + + + Explicit variable. + + + + + + + File name of the model : VoltageSensor + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/VoltageSensor.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/VoltageSensor.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Electrical_pal/VsourceAC.xml b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VsourceAC.xml new file mode 100755 index 000000000..fd0266580 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Electrical_pal/VsourceAC.xml @@ -0,0 +1,203 @@ + + + + + VsourceAC + Source de tension sinusoïdale + + + Aperçu + + + + + + + + + + Contenu + + + + Source de tension sinusoïdale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Modèle Modelica + + + + + + + + Palette + + + + Electrical.cosf - Boîte à outils électrique + + + + + + Description + + Ce composant est une source de tension alternative sinusoïdale. L'amplitude et la fréquence de la tension de + sortie peuvent être réglées par l'utilisateur. La résistance interne de ce bloc est nulle. + + + + Boîte de dialogue + + + + + + + + + + + + + + Amplitude (Volt) + + Amplitude de la tension de sortie sinusoïdale + Propriétés : Type 'vec' de taille -1. + + + + Frequency (Hz) + + Fréquence de la tension de sortie sinusoïdale + Propriétés : Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + Inputs : + + + + + Modelica variable name : 'p' + + + Implicit variable. + + + + + + + Outputs : + + + + + Modelica variable name : 'n' + + + Implicit variable. + + + + + + + Parameters : + + + + + Modelica parameter name : 'VA' + + + Default value : 220 + + + Is a state variable : no. + + + + + Modelica parameter name : 'f' + + + Default value : 50 + + + Is a state variable : no. + + + + + + + File name of the model : VsourceAC + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Electrical/VsourceAC.sci + + + + + Modèle Modelica + + + SCI/modules/scicos_blocks/macros/Electrical/VsourceAC.mo + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Events_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Events_pal/CHAPTER new file mode 100755 index 000000000..fe2848529 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Events_pal/CHAPTER @@ -0,0 +1 @@ +title = Event handling palette diff --git a/modules/xcos/help/fr_FR/palettes/Implicit_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Implicit_pal/CHAPTER new file mode 100755 index 000000000..fed91cfde --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Implicit_pal/CHAPTER @@ -0,0 +1 @@ +title = Implicit palette diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/AA_Integer_pal.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/AA_Integer_pal.xml new file mode 100755 index 000000000..70adf1dc3 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/AA_Integer_pal.xml @@ -0,0 +1,156 @@ + + + + + Integer_pal + Palette Entier + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + Cette palette est dédiée à la manipulation des nombres entiers. Divers opérateurs + logiques et de gestion des champs de bits sont implantés ainsi que les portes logiques + communément rencontrées dans les circuits digitaux. + + + + Blocs + + + + BITCLEAR - Positionne un bit à 0 + + + + + BITSET - Positionne un bit à 1 + + + + + CONVERT - Conversion de type de données + + + + + DFLIPFLOP - Bascule D + + + + + DLATCH - Bascule D transparente + + + + + EXTRACTBITS - Extraction de bits + + + + + INTMUL - Multiplication de matrices entières + + + + + JKFLIPFLOP - Bascule JK + + + + + LOGIC - Logique combinatoire + + + + + SHIFT - Décalage/Rotation de bits + + + + + SRFLIPFLOP - Bascule SR + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/BITCLEAR.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/BITCLEAR.xml new file mode 100755 index 000000000..af0b1013f --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/BITCLEAR.xml @@ -0,0 +1,306 @@ + + + + + BITCLEAR + Positionne un bit à 0 + + + Aperçu + + + + + + + + + + Contenu + + + + Positionne un bit à 0 + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc met à 0 un bit spécifié de son entrée. L'utilisateur donne + l'indice du bit dans le champ Index of Bit, l'indice + 0 étant celui du bit le moins significatif. L'opération + peut être résumée par cette expression + + + + + + i.e. un ET bit à bit entre Entrée et + Masque, un entier de même longueur que l'entrée avec une valeur + 0 pour le bit à modifier et une valeur 1 + pour les autres bits. + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : scalaire. Tout type entier de Scilab (paramètre Input Type). + + + + + Sortie : scalaire. Même type que l'entrée. + + + + + + Boîte de dialogue + + + + + + + + + + + + Data Type (3=int32 4=int16 5=int8...) + + + Indique le type entier des données en entrée (sortie) : entre 3 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Index of Bit (0 is least significant) + + + Indique le bit à mettre à 0. L'indice doit être, quand le type est : + + + + + int32 or uint32 : positif et inférieur à 32. + + + + + int16 or uint16 : positif et inférieur à 16. + + + + + int8 or uint8 : positif et inférieur à 8. + + + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + bit_clear_32 + + + + + + Exemple + + Ci-dessous un cas simple d'utilisation du bloc. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/BITCLEAR.sci + + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/bit_clear_32.c + + + SCI/modules/scicos_blocks/src/c/bit_clear_16.c + + + SCI/modules/scicos_blocks/src/c/bit_clear_8.c + + + + + Voir aussi + + + BITSET + + + EXTRACTBITS + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/BITSET.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/BITSET.xml new file mode 100755 index 000000000..bae1cdb19 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/BITSET.xml @@ -0,0 +1,306 @@ + + + + + BITSET + Positionne un bit à 1 + + + Aperçu + + + + + + + + + + Contenu + + + + Positionne un bit à 1 + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc met à 1 un bit spécifié de son entrée. L'utilisateur spécifie + l'indice du bit dans le champ Index of Bit, l'indice + 0 étant celui du bit le moins significatif. L'opération peut être + résumée par cette expression: + + + + + + i.e. un OU bit à bit entre Entrée et + Masque, un entier de même longueur que l'entrée avec une valeur + 1 pour le bit à modifier et une valeur 0 + pour les autres bits. + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : scalaire. Tout type entier de Scilab (paramètre Data Type). + + + + + Sortie : scalaire. Même type que l'entrée. + + + + + + Boîte de dialogue + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + Indique le type entier des données en entrée (sortie) : entre 3 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Index of Bit (0 is least significant) + + + Indique le bit à mettre à 1. L'indice doit être, quand le type est : + + + + + int32 or uint32 : positif et inférieur à 32. + + + + + int16 or uint16 : positif et inférieur à 16. + + + + + int8 or uint8 : positif et inférieur à 8. + + + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + bit_set_32 + + + + + + Exemple + + Ci-dessous un cas simple d'utilisation du bloc. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/BITSET.sci + + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/bit_set_32.c + + + SCI/modules/scicos_blocks/src/c/bit_set_16.c + + + SCI/modules/scicos_blocks/src/c/bit_set_8.c + + + + + Voir aussi + + + BITCLEAR + + + EXTRACTBITS + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Integer_pal/CHAPTER new file mode 100755 index 000000000..8d97b7ec4 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Entier diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/CONVERT.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/CONVERT.xml new file mode 100755 index 000000000..c53326121 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/CONVERT.xml @@ -0,0 +1,338 @@ + + + + + CONVERT + Conversion de type de données + + + Aperçu + + + + + + + + + + Contenu + + + + Conversion de type de données + + + + + + + Palettes + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palettes + + + + Palette Entier + + + + + + Palette Blocs couramment utiisés + + + + + + Description + + Ce bloc convertit une entrée de type entier ou réel double vers un autre type réel double ou + entier. Ce bloc est particulièrement utile pour connecter un bloc qui accepte ou produit seulement + le type de données entier avec un autre bloc qui produit ou accepte seulement le type de données + double. + + + Il peut également être utilisé pour prendre la demi-partie inférieure de l'entrée par une + conversion dégradante telle que int16 vers int8. Pour ce type d'utilisation et si vous ne voulez + pas de conversion de type, vous pouvez également utiliser le bloc + EXTRACTBITS avec le paramètre Bits to extract + placé à Lower half. + + + Pour une conversion vers le haut d'un entier signé vers un autre entier signé, le signe + est propagé. + + + Quand la sortie est un entier et qu'un dépassement de capacité se produit, le bloc donne trois formes de résultats : + + + + + Un résultat normal non saturé. Par exemple, si le type est int8 et le résultat 128, la valeur de sortie + du bloc sera -128. + + + + + Un résultat saturé. Pour l'exemple précédent la valeur de sortie du bloc sera 127 + + + + + Un message d'erreur prévenant l'utilisateur du dépassement de capacité. + + + + + L'utilisateur peut sélectionner l'une de ces trois formes en mettant le champ + Do on Overflow à 0,1 ou 2. + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : types entiers et type réel double de Scilab + (paramètre Input Type). + + + + + Sortie : types entiers et type réel double de Scilab + (paramètre Output Type). + + + + + + Boîte de dialogue + + + + + + + + + + + + Input Type (1: double, 3:int32, 4:int16, 5:int8, ...) + + + Indique le type de donnée en entrée qui peut être double ou entier. Entre 1 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Output Type (1: double, 3:int32, 4:int16, 5:int8, ...) + + + Indique le type de donnée en sortie qui peut être double ou entier : entre 1 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Do on Overflow (0:Nothing 1:Saturate, 2:Error) + + + Entre 0 et 2. Lors d'un dépassement de capacité, si le paramètre est égal à : + + + + + 0 : le résultat est non saturé. + + + + + 1 : le résultat saturé. + + + + + 2 : la simulation affiche un message d'erreur. + + + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + convert + + + + + + Exemple + + Cet exemple montre la propagation du bit de signe pendant une conversion d'int8 à int16. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/CONVERT.sci + + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/convert.c + + + + + Voir aussi + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/DFLIPFLOP.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/DFLIPFLOP.xml new file mode 100755 index 000000000..a65769b6e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/DFLIPFLOP.xml @@ -0,0 +1,360 @@ + + + + + DFLIPFLOP + Bascule D + + + Aperçu + + + + + + + + + + Contenu + + + + Bascule D + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Propriétés par défaut + + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc sort son état d'entrée (D) quand l'entrée de validation (en) est à 1 sur le front montant de l'horloge + clk. La sortie !Q est la + négation logique de Q. + Cette bascule est aussi connue comme une bascule de retard puisque l'état de l'entrée n'est + modifié qu'au front montant suivant de l'horloge. + + Ce bloc est utilisé comme élément de base des registres à décalage. + + La table de vérité de ce bloc est la suivante : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pas de front + + + + + + + + + + + + + + + + où + + X + + signifie "indifférent" et + + Qn-1 + + + est l'état de sortie antérieur de + + Qn + + + + + + Types de données + + Le bloc supporte les types suivants : + + + + + Entrées : + + + + + D : scalaire. Seulement le type entier int8 de Scilab. + + + + + en : scalaire. Le type réel double de Scilab. + + + + + clk : scalaire. Le type réel double de Scilab.. + + + + + Une entrée positive est considérée comme un 1 logique, une entrée négative ou nulle comme + un 0 logique. + + + + + Sorties : scalaires. Type int8 de Scilab. + + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/DFLIPFLOP.sci + + + + + + Voir aussi + + + DLATCH + + + SRFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/DLATCH.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/DLATCH.xml new file mode 100755 index 000000000..f9dc05495 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/DLATCH.xml @@ -0,0 +1,345 @@ + + + + + DLATCH + Bascule D transparente + + + Aperçu + + + + + + + + + + Contenu + + + + Bascule D transparente + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc copie son état d'entrée (D) sur la sortie + (Q) quand l'entrée de validation + (C) est haute et dans cette configuration, il apparaît comme transparent. La sortie !Q est la négation logique de + Q. + + + Quand l'entrée de validation devient basse, la sortie garde son état antérieur et agit comme une mémoire. + + + Ce bloc peut être typiquement utilisé dans les ports d'entrée/sortie. + + + La table de vérité du bloc est la suivante : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Sans changements + + + + + + + + + + + + + + + Remise à 0 + + + + + + + + + + + + + + + Mise à 1 + + + + où + + X + + signifie "indifférent" et + + Qn-1 + + + l'état antérieur de + + Qn + + + . + + + + Types de données + + Le bloc supporte les types suivants : + + + + + Entrées : + + + + + D : scalaire. Seulement le type entier int8 de Scilab. + + + + + C : scalaire. Le type réel double de Scilab. + + + + + Une entrée positive est considérée comme un 1 logique, une entrée négative ou nulle comme un 0 logique. + + + + + Sorties : scalaires. Type int8 de Scilab. + + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type -1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + Exemple + + La figure suivante montre un cas simple d'utilisation du bloc DLATCH avec + son chronogramme. + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/DLATCH.sci + + + + + + Voir aussi + + + DFLIPFLOP + + + SRFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/EXTRACTBITS.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/EXTRACTBITS.xml new file mode 100755 index 000000000..089aefa70 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/EXTRACTBITS.xml @@ -0,0 +1,629 @@ + + + + + EXTRACTBITS + Extraction de bits + + + Aperçu + + + + + + + + + + Contenu + + + + Extraction de bits + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Pour une entrée numérique entière, ce bloc sort une sélection contiguë de bits. L'opération peut être résumée par cette expression : + + + + + + i.e. un ET bit à bit entre Entrée et Masque un entier + de même longueur que l'entrée avec les bits à extraire positionnés à 1 et les autres positionnés + à 0. + Le paramètre Bits to Extract définit la méthode par laquelle l'utilisateur sélectionne + les bits de sortie comme résumé dans la table suivante avec l'indice 0 celui du bit le moins + significatif : + + + + + + Bits to Extract + + + Output + + + Number of Bits or Index of Bit + + + + + Upper Half + + Demi-partie de l'entrée qui contient les bits les plus significatifs + Ignoré + + + + Lower Half + + Demi-partie de l'entrée qui contient les bits les moins significatifs + Ignoré + + + + Range from MSB + + + Number of Bits or Index of Bit bits d'entrée qui contiennent + le bit le plus significatif. + + Le nombre de bits à extraire + + + + Range to LSB + + + Number of Bits or Index of Bit bits d'entrée qui contiennent + le bit le moins significatif. + + Le nombre de bits à extraire + + + + Range of Bits + + + Une partie des bits de l'entrée entre les indices de bit Début + et Fin du paramètre Number of Bits or Index of Bit. + + + Vecteur avec le format [Début, Fin]Début + est le premier indice et Fin le dernier indice. + + + + + La valeur extraite dépend du quatrième paramètre Treat Bit Field as an Integer. + + + + + 0 : La sortie est directement le résultat de l'extraction. + + + + + + 1 : la sortie est la conversion en entier du résultat de + l'extraction en accord avec le statut signé ou non signé de la valeur d'entrée. + + + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : scalaire. Tout type entier de Scilab (paramètre Data Type). + + + + + + Sortie : scalaire. Même type que l'entrée. + + + + + + Boîte de dialogue + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + Indique le type entier des données en entrée : Entre 3 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Bits to Extract + + + Indique le mode d'extraction des bits à partir de la donnée d'entrée : Entre 1 et 5 (1:Demi partie haute, + 2:Demi partie basse, 3:Etendue à partir du MSB, 4:Etendue à partir du LSB, 5:Etendue). + + Propriétés : Type 'vec' de taille 1. + + + + Number of Bits or Index of Bit + + + Quand le champ Bits to Extract est initialisé à : + + + + + 1 ou 2, ce paramètre est ignoré. + + + + + 3 ou 4, ce paramètre est utilisé pour déterminer le nombre de bits à extraire. + Ce nombre doit être, si le type est : + + + + int32 ou uint32 : inférieur à 32. + + + int16 ou uint16 : inférieur à 16, + + + int8 ou uint8 : inférieur à 8. + + + + + + 5, ce paramètre est utilisé pour déterminer l'intervalle de bits à extraire + et ce doit être un vecteur de la forme [Début, Fin]. + Début doit être inférieur à Fin. Ces valeurs + doivent être, si le type est : + + + + int32 ou uint32 : inférieures à 32. + + + int16 ou uint16 : inférieures à 16, + + + int8 ou uint8 : inférieures à 8. + + + + + Voir la description pour plus d'informations + Propriétés : Type 'vec' de taille -1. + + + + Treat Bit Field as an Integer (0:No, 1:Yes) + + + Indique le mode de cadrage à utiliser sur la sélection de bits en sortie : 0 ou 1. + Voir la description pour plus d'informations. + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 3 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + extract_bit_32_UH0 + + + + + + Exemple + + Le tableau suivant présente les résultats obtenus pour le nombre 215 en fonction de plusieurs combinaisons de paramètres. + + + + + + Input + + + Bits to Extract + + + Number of Bits or Index of Bit + + + Treat Bit Field as an Integer + + + Output + + + + 11010111 (215) + Upper Half + Ignoré + non + 01100000 (208) + + + 11010111 (215) + Upper Half + Ignoré + oui + 00001101 (13) + + + 11010111 (215) + Lower Half + Ignoré + non + 00000111 (7) + + + 11010111 (215) + Lower Half + Ignoré + oui + 00000111 (7) + + + 11010111 (215) + Range starting with MSB + 6 + non + 11010100 (212) + + + 11010111 (215) + Range starting with MSB + 6 + oui + 00110101 (53) + + + 11010111 (215) + Range starting with LSB + 6 + non + 00010111 (23) + + + 11010111 (215) + Range starting with LSB + 6 + oui + 00010111 (23) + + + 11010111 (215) + Range of bits + [ 2, 5 ] + non + 00010100 (20) + + + 11010111 (215) + Range of bits + [ 2, 5 ] + oui + 00000101 (5) + + + 11010111 (-41) + Upper half + Ignoré + non + 11010000 (-48) + + + 11010111 (-48) + Upper half + Ignoré + oui + 11111101 (-3) + + + + Dans le schéma suivant, deux chiffres décimaux sont codés sur un seul octet. Le diagramme décode + l'entrée pour obtenir deux chiffres séparés. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/EXTRACTBITS.sci + + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_32_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u32_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_16_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u16_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_UH0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_UH1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_LH.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_MSB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_MSB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_LSB.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_RB0.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_8_RB1.c + + + SCI/modules/scicos_blocks/src/c/extract_bit_u8_RB1.c + + + + + Voir aussi + + + BITSET + + + BITCLEAR + + + LOGICAL_OP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/INTMUL.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/INTMUL.xml new file mode 100755 index 000000000..5d097c60e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/INTMUL.xml @@ -0,0 +1,371 @@ + + + + + INTMUL + Multiplication de matrices entières + + + Aperçu + + + + + + + + + + Contenu + + + + Multiplication de matrices entières + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc calcule la multiplication de deux entrées constituées par des matrices d'entiers. + Le nombre de lignes de la seconde matrice doit être égal au nombre de colonnes de la première + matrice. + + + La sortie est une matrice où le nombre de lignes est égal au nombre de lignes de la première + matrice d'entrée et le nombre de colonnes est égal au nombre de colonnes de la seconde matrice + d'entrée. + + Lors d'un dépassement de capacité, le résultat peut prendre trois formes : + + + + Un résultat normal non saturé. Par exemple, si le type est int8 et le résultat 128, la valeur de sortie du bloc sera -128. + + + + + Un résultat saturé. Pour l'exemple précédent la valeur de sortie du bloc sera 127 + + + + + Un message d'erreur prévenant l'utilisateur du dépassement de capacité. + + + + + L'utilisateur peut sélectionner l'une de ces trois formes en mettant le champ + Do on Overflow à 0,1 ou 2. + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrées : matrices, vecteurs ou scalaires. Type entiers de Scilab + (paramètre Data Type). + + + + + + Sortie : même type que les entrées. + + + + + + Boîte de dialogue + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + Indique le type de données des entrées : entre 3 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Do on Overflow (0:Nothing, 1:Saturate, 2:Error) + + + Entre 0 et 2. Lors d'un dépassement de capacité, si le paramètre est égal à : + + + + + 0 : le résultat est non saturé. + + + + + 1 : le résultat est saturé. + + + + + 2 : la simulation affiche un message d'erreur. + + + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 3 + + + - port 2 : size [-2,-3] / type 3 + + + + + regular outputs: + + + - port 1 : size [-1,-3] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + matmul_i32 + + + + + + Exemple + + Le but de cet exemple est de coder deux chiffres décimaux dans un seul octet. Il fait exactement + le travail inverse de l'exemple du bloc EXTRACTBITS. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/INTMUL.sci + + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/matmul_i32n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16n.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8n.c + + + SCI/modules/scicos_blocks/src/c/matmul_i32s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16s.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8s.c + + + SCI/modules/scicos_blocks/src/c/matmul_i32e.c + + + SCI/modules/scicos_blocks/src/c/matmul_i16e.c + + + SCI/modules/scicos_blocks/src/c/matmul_i8e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui32e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui16e.c + + + SCI/modules/scicos_blocks/src/c/matmul_ui8e.c + + + + + Voir aussi + + + MATMUL + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/JKFLIPFLOP.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/JKFLIPFLOP.xml new file mode 100755 index 000000000..a87345819 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/JKFLIPFLOP.xml @@ -0,0 +1,424 @@ + + + + + JKFLIPFLOP + Bascule JK + + + Aperçu + + + + + + + + + + Contenu + + + + Bascule JK + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + La bascule JK est la plus versatile des bascules de base. Elle a deux entrées étiquetées traditionnellement + J (mise à 1) et K (remise à 0). + + + + + Quand les entrées J et K + sont différentes, la sortie Q prend la valeur de + J au prochain front descendant de l'horloge. + + + + + + Quand les entrées J et K + sont à l'état bas, aucun changement n'apparaît sur l'état de la sortie. + + + + + + Quand les entrées sont simultanément à l'état haut la sortie Q + bascule d'un état à l'autre. Elle peut effectuer les fonctions de la bascule set/reset (SR) et a l'avantage de ne pas comporter d'états ambigus. + + + + + La sortie !Q est la négation logique de + Q. + + + Elle peut aussi agir comme une bascule T pour accomplir des actions de commutation si + J et K sont reliées. + Cette application de commutation trouve une utilisation extensive dans les compteurs binaires. + + + L'utilisateur peut donner la valeur initiale de l'état de sortie avec le paramètre Initial Value. + + + La table de vérité de ce bloc est : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maintien + + + + + + + + + + + + + + + Remise à 0 + + + + + + + + + + + + + + + Mise à 1 + + + + + + + + + + + + + + + Basculement + + + + où + + Qn-1 + + + est l'état antérieur de + + Qn + + + . + + + + Types de données + + Le bloc supporte les types suivants : + + + + + Entrées : + + + + + J : scalaire. Seulement le type entier int8 de Scilab. + + + + + clk : scalaire. Le type réel double Scilab. + + + + + K : scalaire. Seulement le type entier int8 de Scilab. + + + + + Une entrée positive est considérée comme un 1 logique, une entrée négative ou nulle comme un 0 logique. + + + + + + Sorties : scalaires. Type int8 de Scilab. + + + + + + Boîte de dialogue + + + + + + + + + + + + Initial Value + + + Valeur initiale de la sortie Q. + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 1 + + + - port 3 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + Exemple + + L'exemple qui suit construit un compteur 3 bits asynchrone avec des bascules JK cablées en bascule T. Vous pouvez voir + sur la droite le chronogramme des sorties + + Q0 + + + à + + Q2 + + + du compteur. + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/JKFLIPFLOP.sci + + + + + + Voir aussi + + + DLATCH + + + DFLIPFLOP + + + SRFLIPFLOP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/LOGIC.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/LOGIC.xml new file mode 100755 index 000000000..b8b1081b5 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/LOGIC.xml @@ -0,0 +1,471 @@ + + + + + LOGIC + Logique combinatoire + + + Aperçu + + + + + + + + + + Contenu + + + + Logique combinatoire + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemples + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Le bloc implémente une table de vérité standard pour la modélisation de tableaux de programmation, + de circuits digitaux et de toute autre expression booléenne. + + + L'utilisateur doit spécifier une matrice qui définit toutes les sorties de bloc possibles dans + le champ Truth Table. En conséquence, le nombre de lignes doit être + une puissance de deux. + Chaque ligne de la matrice contient une combinaison logique des éléments d'entrée + + + L'initialisation du paramètre Truth Table définit le nombre + d'entrées et de sorties du bloc de la façon suivante : + + + + + Le nombre d'entrées est défini par la relation : + + + + + + + + + + Le nombre de sorties est égal au nombre de colonnes de la matrice. + + + + + Ce bloc peut être activé par un événement d'entrée implicite ou hériter de l'horloge à partir + de l'entrée régulière (paramètre Accepts inherited events). + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : scalaire. Tout type entier de Scilab. + + + Une entrée positive est considérée comme un 1 logique, une entrée négative ou nulle est considérée comme un 0 logique. + + + + + + Sortie : scalaire. Même type que l'entrée. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Truth Table + + + La matrice des sorties. Les éléments doivent être 0 ou 1. Pour plus d'information voir la partie description. + + Propriétés : Type 'mat' de taille [-1,-2]. + + + + Accepts Inherited Events (0:No, 1:Yes) + + Spécifie si l'horloge est héritée ou pas. 0 ou 1 + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + logic + + + + + + Exemples + + Exemple 1 + + L'exemple le plus simple à considérer est le OR. Dans ce cas nous avons deux entrées et seulement une sortie. La table + de vérité pour cet exemple est : + + + + + + input 1 + + + input 2 + + + output + + + + 0 + 0 + 0 + + + 0 + 1 + 1 + + + 1 + 0 + 1 + + + 1 + 1 + 1 + + + + et le paramètre Truth Table est écrit : + + + + + + Exemple 2 + + Cet exemple montre l'utilisation du bloc LOGIC en tant que démultiplexeur. Le but est d'envoyer l'entrée constante égale + à vrai sur une des quatre sorties en accord avec l'état des deux entrées de sélection : + a et b. + La table de vérité est la suivante : + + + + + + Constant + + + a + + + b + + + Q0 + + + Q1 + + + Q2 + + + Q3 + + + + 0 + X + X + 0 + 0 + 0 + 0 + + + 1 + 0 + 0 + 1 + 0 + 0 + 0 + + + 1 + 0 + 1 + 0 + 1 + 0 + 0 + + + 1 + 1 + 0 + 0 + 0 + 1 + 0 + + + 1 + 1 + 1 + 0 + 0 + 0 + 1 + + + X signifie "indifférent". + + Pour mettre cette table dans le paramètre Truth Table, on peut simplement écrire : + + + + + + La figure suivante montre les sorties + + Q0 + + + à + + Q3 + + + obtenues pendant la simulation quand les entrées + + a + + et + + b + + de sélection du bloc sont générées par + un compteur binaire. + + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/LOGIC.sci + + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/logic.c + + + + + Voir aussi + + + BITSET + + + BITCLEAR + + + LOGICAL_OP + + + EXTRACTBITS + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/SHIFT.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/SHIFT.xml new file mode 100755 index 000000000..9ddb6eec3 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/SHIFT.xml @@ -0,0 +1,454 @@ + + + + + SHIFT + Décalage/Rotation de bits + + + Aperçu + + + + + + + + + + Contenu + + + + Décalage/Rotation de bits + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc décale les bits du signal d'entrée. Dans cette opération les chiffres sont + déplacés vers la droite ou la gauche. L'utilisateur peut choisir la méthode de + décalage qui peut être normale ou cyclique en plaçant le paramètre + Shift Type à 0 ou 1. + Le nombre et la direction des décalages sont réglés avec le paramètre + Number of Bits to Shift Left. + Si ce nombre est positif l'entrée est décalée à gauche, sinon elle est décalée à droite. + + + Quand le paramètre Shift Type est : + + + + + 0 : un décalage arithmétique est appliqué au signal d'entrée. + Dans ce cas, les bits qui sont sortis à l'une ou l'autre extrémité sont perdus. Des zéros sont + insérés à droite, dans le cas d'un décalage à gauche ; dans le cas d'un décalage à droite, des + copies du bit de signe sont insérées à gauche. + + + Par exemple un décalage arithmétique à droite de 1 bit donne : + + + + + + et un décalage arithmétique à gauche donne : + + + + + + + + + + 1 : un décalage circulaire est appliqué au signal d'entrée. + Dans ce cas, il y a rotation des bits comme si les extrémités de droite et de gauche du + registre étaient jointes. La valeur qui est insérée à droite pendant un décalage à gauche + est la valeur qui est décalée et sortie à gauche et vice et versa. + + + Par exemple une rotation à droite de 1 bit donne : + + + + + + et une rotation à gauche : + + + + + + + + + + Le registre à décalage effectue une multiplication par + + 2n + + (décalage à gauche arithmétique) ou une division entière par + + 2n + + (décalage à droite arithmétique), où n est le nombre de décalages. + Il peut également être utilisé pour sérialiser des données ou créer une mémoire tampon. + + + + Types de données + + Le bloc supporte les types de données suivants : + + + + + Entrée : scalaire. Tout type entier de Scilab (paramètre Data Type). + + + + + + Sortie : scalaire. Même type que l'entrée. + + + + + + Boîte de dialogue + + + + + + + + + + + + Data Type (3:int32, 4:int16, 5:int8, ...) + + + Indique le type de données en entrée : entre 3 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Number of Bits to Shift Left (Negative number to shift right) + + + Indique le nombre de bits du signal d'entrée à décaler. Une valeur positive indique un décalage à gauche, une valeur négative un décalage à droite. L'indice doit être, quand le type est : + + + + + int32 or uint32 : positif et inférieur à 32. + + + + + int16 or uint16 : positif et inférieur à 16. + + + + + int8 or uint8 : positif et inférieur à 8. + + + + Propriétés : Type 'vec' de taille 1. + + + + Shift Type (0:Arithmetic, 1:Circular) + + + O ou 1. Indique la règle utilisée pour le décalage des bits. Il peut être arithmétique + ou circulaire. Voir la description pour plus d'information. Quand il est égal à : + + + + + 0, un décalage arithmétique est appliqué au signal + d'entrée. + + + + + 1, un décalage circulaire est appliqué au signal + d'entrée. + + + + Voir la description pour plus d'information. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 3 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + shift_32_LA + + + + + + Exemple + + Dans cet exemple le Super bloc est un compteur binaire 3 bits. De façon à obtenir les données décimales correspondantes, + les sorties + + Q1 + + + et + + Q2 + + + du compteur sont respectivement + décalées à gauche de un et de deux bits. Finalement la sortie + + Q0 + + + + et les sorties décalées sont additionnées. + + + Pour bien voir l'évolution, mettre le paramètre Mise à l'échelle temps réel + + à 0.5 s dans le sous-menu Configurer du menu + Simulation. + + + + + + + + + + + + Ci-dessous le détail du compteur binaire. + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/SHIFT.sci + + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/shift_32_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_32_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_32_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u32_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_32_RC.c + + + SCI/modules/scicos_blocks/src/c/shift_16_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_16_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_16_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u16_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_16_RC.c + + + SCI/modules/scicos_blocks/src/c/shift_8_LA.c + + + SCI/modules/scicos_blocks/src/c/shift_8_LC.c + + + SCI/modules/scicos_blocks/src/c/shift_8_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_u8_RA.c + + + SCI/modules/scicos_blocks/src/c/shift_8_RC.c + + + + + Voir aussi + + + BITSET + + + BITCLEAR + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Integer_pal/SRFLIPFLOP.xml b/modules/xcos/help/fr_FR/palettes/Integer_pal/SRFLIPFLOP.xml new file mode 100755 index 000000000..896a68d20 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Integer_pal/SRFLIPFLOP.xml @@ -0,0 +1,407 @@ + + + + + SRFLIPFLOP + Bascule SR + + + Aperçu + + + + + + + + + + Contenu + + + + Bascule SR + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Entier + + + + + + Description + + Ce bloc définit la mémoire la plus simple et la plus fondamentale, la bascule SR. + La sortie Q dépend de l'état des entrées S et R : + + + + + Si S (Set) est pulsée à l'état haut alors + que R est gardé à l'état bas la sortie + Q est forcée à l'état haut, et le reste quand + S retourne à l'état bas. + + + + + + Si R (Reset) est pulsée à l'état haut alors + que S est gardé à l'état bas, la sortie Q est forcée à l'état bas, et le reste quand + R retourne à l'état bas. + + + + + + Quand S et R + sont à l'état bas, Q(t) prend la valeur de l'état + antérieur de la sortie Q(t-1). + + + + + + Quand S et R + sont à l'état haut, Q et !Q + prennent l'état bas ou haut; l'état est instable. En pratique cet état est interdit. + + + + + La sortie !Q est la négation logique de + Q. + + + L'utilisateur peut donner la valeur initiale de l'état de sortie avec le paramètre Initial Value. + + Ce bloc est souvent utilisé comme une mémoire. + + La table de vérité de ce bloc est : + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Maintien + + + + + + + + + + + + + + + Remise à 0 + + + + + + + + + + + + + + + Mise à 1 + + + + + + + + + + + + + + + Etat interdit + + + + où + + I + + signifie "Inconnu". + + + + Types de données + + Le bloc supporte les types suivants : + + + + + Entrées : + + + + + S : scalaire. Seulement le type entier int8 de Scilab. + + + + + R: scalaire. Seulement le type entier int8 de Scilab. + + + + + Une entrée positive est considérée comme un 1 logique, une entrée négative ou nulle comme un 0 + logique. + + + + + + Sorties : scalaires. Type int8 de Scilab. + + + + + + Boîte de dialogue + + + + + + + + + + + + Initial Value + + Valeur initiale de l'état de Q. Il doit être de type int8. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 5 + + + - port 2 : size [1,1] / type 5 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + csuper + + + + + + Exemple + + L'exemple suivant présente une application typique d'anti-rebond de la bascule SR. Le graphe de + sortie montre l'effet mémoire de la bascule. + + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/IntegerOp/SRFLIPFLOP.sci + + + + + + Voir aussi + + + DLATCH + + + DFLIPFLOP + + + JKFLIPFLOP + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Lookuptables_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Lookuptables_pal/CHAPTER new file mode 100755 index 000000000..f61368e86 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Lookuptables_pal/CHAPTER @@ -0,0 +1 @@ +title = Lookup tables palette diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml new file mode 100755 index 000000000..f23b4ecd0 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/AA_Mathoperations_pal.xml @@ -0,0 +1,262 @@ + + + + + Mathoperations_pal + Palette Opérations mathématiques + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + La palette Opérations mathématiques contient les blocs de modélisation des fonctions mathématiques générales. + + + Blocs + + + + ABS_VALUE — Valeur absolue + + + + + BIGSOM_f — Addition/Soustraction de scalaires ou vecteurs + + + + + COSBLK_f — Cosinus + + + + + EXPBLK_m — Exponentielle d'un scalaire + + + + + GAINBLK_f — Gain + + + + + INVBLK — Inverse + + + + + LOGBLK_f — Logarithme Commun + + + + + MATMAGPHI — Complexe à partir de/vers module et phase + + + + + MATZREIM — Composition/décomposition complexe + + + + + MAX_f — Valeur maximale des éléments d'un vecteur + + + + + MAXMIN — Valeur maximale ou minimale des éléments de vecteurs + + + + + MIN_f — Valeur minimale des éléments d'un vecteur + + + + + POWBLK_f — Puissance + + + + + PROD_f — Produit de vecteurs élément par élément + + + + + PRODUCT — Multiplication/Division de vecteurs élément par élément + + + + + SIGNUM — Signe + + + + + SINBLK_f — Sinus + + + + + SQRT — Racine carrée + + + + + SUM_f — Addition + + + + + SUMMATION — Addition/Soustraction de matrices + + + + + TANBLK_f — Tangente + + + + + TrigFun — Fonction trigonométrique + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/ABS_VALUE.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/ABS_VALUE.xml new file mode 100755 index 000000000..e667aa334 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/ABS_VALUE.xml @@ -0,0 +1,219 @@ + + + + + ABS_VALUE + Valeur absolue + + + Aperçu + + + + + + + + + + Contenu + + + + Valeur absolue + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Le bloc calcule la valeur absolue des éléments de son vecteur d'entrée. + + + + Boîte de dialogue + + + + + + + + + + + + + + use zero_crossing + + A sélectionner pour valider la détection de passage à zéro. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: oui + + + + + mode: oui + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + absolute_value + + + + + + Exemple + + + + + + + + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/ABS_VALUE.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/absolute_value.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/BIGSOM_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/BIGSOM_f.xml new file mode 100755 index 000000000..0bd5d2450 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/BIGSOM_f.xml @@ -0,0 +1,274 @@ + + + + + BIGSOM_f + Somme + + + Aperçu + + + + + + + + + + Contenu + + + + Somme + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Default properties + + + + + Interfacing function + + + + + Computational function + + + + + Exemple + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc effectue l'addition ou la soustraction de ses entrées. L'utilisateur peut ajuster le gain de chacune des + entrées avec le paramètre Inputs ports signs/gain.Le type de données des entrées + de ce bloc peut être double, complexe ou entier. Le comportement de ce bloc est résumé dans le tableau suivant : + + + + + + Nombre d'entrées + + + Opération + + + Remarques + + + + Une + y = k*u + + k est la valeur scalaire inscrite dans le paramètre Inputs ports signs/gain + + + + Deux ou plus + y = k[1]*u1+k[2]*u2+...+k[n]*uN + + k est un vecteur inscrit dans le paramètre Inputs ports signs/gain. Pour soustraire ui, mettre une valeur négative dans k[i]. + + + + + + Boîte de dialogue + + + + + + + + + + + + Inputs ports signs/gain + + Initialise un gain et un signe pour chacune des entrées. + Propriétés : Type 'vec' de taille -1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation + inputs: + + 0 + + + + + number/sizes of activation + outputs: + + 0 + + + + + continuous-time state: + no + + + + + discrete-time state: non + + + + + object discrete-time state: + no + + + + + name of computational function: + sum + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/BIGSOM_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/sum.c (Type 2) + + + + + Example + + + + + + + + + + + + Voir aussi + + + + SUMMATION - Addition/Soustraction de matrices (Xcos block) + + + + + SUM_f - Sommation (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/CHAPTER new file mode 100755 index 000000000..01f813281 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Opérations Mathématiques diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/COSBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/COSBLK_f.xml new file mode 100755 index 000000000..e0d89b93a --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/COSBLK_f.xml @@ -0,0 +1,188 @@ + + + + + COSBLK_f + Cosinus + + + Aperçu + + + + + + + + + + Contenu + + + + Cosinus + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le cosinus des éléments du vecteur d'entrée. + + + + $y = \cos(u)$ + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + cosblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/COSBLK_f.sci + + + + + Voir aussi + + + + TrigFun - Fonction trigonométrique (Bloc Xcos) + + + + + SINBLK_f - Sinus (Bloc Xcos) + + + + + TANBLK_f - Tangente (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/EXPBLK_m.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/EXPBLK_m.xml new file mode 100755 index 000000000..8788fa618 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/EXPBLK_m.xml @@ -0,0 +1,218 @@ + + + + + EXPBLK_m + Exponentielle d'un scalaire + + + Aperçu + + + + + + + + + + Contenu + + + + Exponentielle d'un scalaire + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + See also + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + La sortie de ce bloc est un vecteur y avec y[i]=a^u[i] où le paramètre a est + un scalaire positif et u le vecteur d'entrée. Les dimensions des ports d'entrée et de sortie sont déterminées + par le compilateur. + + + + Boîte de dialogue + + + + + + + + + + + + a + + Un scalaire réel positif. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + expblk_m + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/EXPBLK_m.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/expblk_m.c (Type 4) + + + + + Voir aussi + + + + POWBLK_f - Puissance (Bloc Xcos) + + + + + LOGBLK_f - Logarithm commun(Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/GAINBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/GAINBLK_f.xml new file mode 100755 index 000000000..e1f5398fc --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/GAINBLK_f.xml @@ -0,0 +1,185 @@ + + + + + GAINBLK_f + Gain + + + Aperçu + + + + + + + + + + Contenu + + + + Gain + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le produit d'une matrice carrée A par le vecteur d'entrée U, où le nombre de lignes/colonnes + de A est égal au nombre de lignes de U. La matrice A est initialisée avec le paramètre + Gain. + + + + Boîte de dialogue + + + + + + + + + + + + Gain + + Ce paramètre définit la matrice carrée A. + Propriétés : Type 'mat' de taille [-1,-1]. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + gain + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/GAINBLK_f.sci + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/INVBLK.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/INVBLK.xml new file mode 100755 index 000000000..f3ff15786 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/INVBLK.xml @@ -0,0 +1,197 @@ + + + + + INVBLK + Inverse + + + Aperçu + + + + + + + + + + Contenu + + + + Inverse + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le vecteur de sortie y avec y[i]=1/u[i] où u est le vecteur d'entrée. Les dimensions des entrées + et sorties est déterminée par le contexte. + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + invblk4 + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/INVBLK.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/invblk4.c (Type 4) + + + + + Voir aussi + + + + GAINBLK_f- Gain (Xcos block) + + + + + PROD_f - Produit élément par élément (Xcos block) + + + + + PRODUCT - Multiplication/Division de vecteurs élément par élément (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/LOGBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/LOGBLK_f.xml new file mode 100755 index 000000000..ab345227d --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/LOGBLK_f.xml @@ -0,0 +1,224 @@ + + + + + LOGBLK_f + Logarithme commun + + + Aperçu + + + + + + + + + + Contenu + + + + Logarithme commun + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le logarithme des éléments de son vecteur d'entrée. L'utilisateur peut fixer la base avec + le paramètre Basis. Par défaut le bloc calcule le logarithme naturel (népérien). + Les dimensions des ports d'entrée et de sortie sont déterminés par le contexte. + + + + Boîte de dialogue + + + + + + + + + + + + + Basis + + Un scalaire réel supérieur à 1. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + logblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/LOGBLK_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/logblk.f (Type 0) + + + + + Voir aussi + + + + POWBLK_f - Puissance (Bloc Xcos) + + + + + EXPBLK_m - Exponentielle d'un scalaire (Bloc Xcos) + + + + + SQRT - Racine carrée (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATMAGPHI.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATMAGPHI.xml new file mode 100755 index 000000000..f716035e5 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATMAGPHI.xml @@ -0,0 +1,260 @@ + + + + + MATMAGPHI + Complexe à partir de/vers module et phase + + + Aperçu + + + + + + + + + + Contenu + + + + Complexe à partir de/vers module et phase + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le module et l'argument d'une matrice de nombres complexes ou construit une matrice de nombres complexes + à partir d'une matrice de modules et d'une matrice d'arguments en fonction de la valeur du paramètre decomposition type. + Le tableau suivant résume le comportement du bloc : + + + + + + Decomposition type + + + Entrées + + + Sorties + + + Opération + + + + + 1 + + Une (complexe ou double) + Deux (double) + + Conversion : complexe vers module (première sortie) et l'argument en radians (seconde sortie). + Si l'entrée est un double, l'argument sera nul ou égal à PI et le module sera égal à la valeur absolue + de l'entrée. + + + + + 2 + + Deux (doubles) + Une (complexe) + + Le bloc sort une matrice de nombres complexes construite avec le module et l'argument en radians venant + respectivement de la première et de la seconde entrée en radians. + + + + + + + Boîte de dialogue + + + + + + + + + + + + decomposition type (1=Complex2MAG&PHI 2=MAG&PHI2Complex) + + Il indique la règle de conversion. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + matz_abs + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATMAGPHI.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/matz_abs.c + + + SCI/modules/scicos_blocks/src/c/matz_absc.c + + + + + Voir aussi + + + + MATZREIM - Décomposition complexe + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATZREIM.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATZREIM.xml new file mode 100755 index 000000000..87277a1ec --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MATZREIM.xml @@ -0,0 +1,262 @@ + + + + + MATZREIM + Composition/décomposition complexe + + + Aperçu + + + + + + + + + + Contenu + + + + Composition/décomposition complexe + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc décompose une matrice de nombres complexes en séparant les parties réelles et imaginaires ou + compose une matrice de nombres complexes en joignant les deux parties en fonction de la valeur du + paramètre decomposition type. + Le tableau suivant résume le comportement du bloc : + + + + + + Decomposition type + + + Entrées + + + Sorties + + + Opération + + + + + 1 + + Une entrée (complexe ou double) + Deux sorties (double) + + Décomposition : la partie réelle et la partie imaginaire sont respectivement disponibles sur la première + et la seconde sortie. + + + + + 2 + + Deux entrées (doubles) + Une sortie (complexe) + + Composition : La sortie du bloc est une matrice de nombres complexes construite avec les parties réelle + et imaginaire venant respectivement de la première et de la seconde entrée. + + + + + + + Boîte de dialogue + + + + + + + + + + + + + + decomposition type (1=Complex2Real&Imag 2=Real&Imag2Complex) + + Indique le type de décomposition utilisé. Voir la partie description pour plus d'information. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + matz_reim + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATZREIM.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/matz_reim.c + + + SCI/modules/scicos_blocks/src/c/matz_reimc.c + + + + + Voir aussi + + + + MATMAGPHI - Conversion de complexe vers module et argument + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAXMIN.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAXMIN.xml new file mode 100755 index 000000000..b1609253e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAXMIN.xml @@ -0,0 +1,273 @@ + + + + + MAXMIN + Valeur maximale ou minimale des éléments de vecteurs + + + Aperçu + + + + + + + + + + Contenu + + + + Valeur maximale ou minimale des éléments de vecteurs + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Le bloc calcule le minimum/maximum (paramètre Min or Max) et accepte une ou deux entrées + en fonction du paramètre Number of input vectors : + + + + + + Number of input vectors + + + Entrée + + + Operation + + + + + 1 + + Vecteur + La sortie du bloc est l'élément de valeur minimale/maximale des éléments du vecteur. + + + + 2 + + Scalaire + La sortie du bloc est le scalaire minimum ou maximum. + + + + 2 + + Vecteur + + Les vecteurs doivent avoir les mêmes dimensions et la sortie du bloc est un vecteur de même dimension + que les entrées, dont les éléments sont les éléments minimaux ou maximaux des éléments correspondants + des vecteurs d'entrée. + + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Min or Max + + La fonction (min ou max) à appliquer à l'entrée. + Propriétés : Type 'vec' de taille 1. + + + + Number of input vectors + + Le nombre des entrées du bloc. + Propriétés : Type 'vec' de taille 1. + + + + zero-crossing + + A sélectionner pour valider la détection du passage à zéro pour détecter les valeurs minimum and maximum. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + minmax + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/MAXMIN.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/minmax.c (Type 4) + + + + + Voir aussi + + + + MIN_f - Valeur minimale des éléments d'un vecteur + + + + + MAX_f - Valeur maximale des éléments d'un vecteur + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAX_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAX_f.xml new file mode 100755 index 000000000..8ff18b743 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MAX_f.xml @@ -0,0 +1,189 @@ + + + + + MAX_f + Valeur maximale des éléments d'un vecteur + + + Aperçu + + + + + + + + + + Contenu + + + + Valeur maximale des éléments d'un vecteur + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + Ce bloc trouve l'élément de valeur maximale dans les éléments de son vecteur d'entrée. + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + maxblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/MAX_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/maxblk.f (Type 0) + + + + + Voir aussi + + + + MIN_f - Valeur minimale des éléments d'un vecteur (Bloc Xcos) + + + + + MAXMIN - Valeurs maximale ou minimale des éléments de vecteurs (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MIN_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MIN_f.xml new file mode 100755 index 000000000..18aad8bb9 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/MIN_f.xml @@ -0,0 +1,206 @@ + + + + + MIN_f + Valeur minimale des éléments d'un vecteur + + + Aperçu + + + + + + + + + + Contenu + + + + Valeur minimale des éléments d'un vecteur + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + Ce bloc trouve la valeur minimale dans les éléments de son vecteur d'entrée. + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + minblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/MIN_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/minblk.f (Type 0) + + + + + Exemple + + + + + + + + + + + + Voir aussi + + + + MAX_f - Valeur maximale des éléments d'un vecteur (Bloc Xcos) + + + + + MAXMIN - Valeur maximale ou minimale des éléments de vecteurs (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/POWBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/POWBLK_f.xml new file mode 100755 index 000000000..c5b02b000 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/POWBLK_f.xml @@ -0,0 +1,224 @@ + + + + + POWBLK_f + Puissance d'un tableau + + + Aperçu + + + + + + + + + + Contenu + + + + Puissance d'un tableau + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule un vecteur de sortie y avec y[i]= u[i]^a où a est un scalaire réel donné par + le paramètre to the power of et u l'entrée. Les dimensions des + ports d'entrée et de sortie sont déterminées par le compilateur en accord avec les tailles des + ports des blocs connectés. + + + + Boîte de dialogue + + + + + + + + + + + + to the power of + + Un scalaire réel, la valeur de l'exposant. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + powblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/POWBLK_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/powblk.f (Type 0) + + + + + Voir aussi + + + + LOGBLK_f - Logarithme (Bloc Xcos) + + + + + EXPBLK_m - Exponentielle d'un scalaire (Bloc Xcos) + + + + + SQRT - Racine carrée (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PRODUCT.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PRODUCT.xml new file mode 100755 index 000000000..a99b39e33 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PRODUCT.xml @@ -0,0 +1,235 @@ + + + + + PRODUCT + Multiplication/Division de vecteurs élément par élément + + + Aperçu + + + + + + + + + + Contenu + + + + Multiplication/Division de vecteurs élément par élément + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc effectue la multiplication ou la division élément par élément des vecteurs d'entrée. Le nombre des entrées + et l'opération sont spécifiés avec le paramètre Number of inputs or sign vector. + + + + + Pour multiplier toutes les entrées entre elles, mettre ce paramètre à la valeur du nombre d'entrées. + + + + + Pour multiplier/diviser l'entrée ui, mettre dans ce paramètre un vecteur k avec + k[i] = +1 (multiplier) ou -1 (diviser) pour l'entrée ui. + + + + + + Boîte de dialogue + + + + + + + + + + + + + + Number of inputs or sign vector + + Le nombre d'entrées. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + product + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/PRODUCT.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/product.c (Type 4) + + + + + Voir aussi + + + + GAINBLK_f - Gain (Xcos block) + + + + + INVBLK - Inversion (Xcos block) + + + + + PROD_f - Produit élément par élément (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PROD_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PROD_f.xml new file mode 100755 index 000000000..bad369921 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/PROD_f.xml @@ -0,0 +1,199 @@ + + + + + PROD_f + Produit de vecteurs élément par élément + + + Aperçu + + + + + + + + + + Contenu + + + + Produit de vecteurs élément par élément + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + La sortie de ce bloc est le produit élément par élément de ses deux vecteurs d'entrée. + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + prod + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/PROD_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/prod.c (Type 2) + + + + + Voir aussi + + + + GAINBLK_f - Gain (Xcos block) + + + + + INVBLK - Inversion (Xcos block) + + + + + PRODUCT - Multiplication/Division de vecteurs élément par élément (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SIGNUM.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SIGNUM.xml new file mode 100755 index 000000000..70fdb8f55 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SIGNUM.xml @@ -0,0 +1,209 @@ + + + + + SIGNUM + Signe + + + Aperçu + + + + + + + + + + Contenu + + + + Signe + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + La sortie de bloc est un vecteur des signes des éléments du vecteur d'entrée. + Pour chaque élément du vecteur d'entrée, l'élément du vecteur de sortie est égal à : + + + + 1 quand l'élément est supérieur à zéro. + + + 0 quand l'élément est égal à zéro. + + + -1 quand l'élément est inférieur à zéro. + + + + + Boîte de dialogue + + + + + + + + + + + + + use zero_crossing + + A sélectionner pour valider la détection de passage à zéro. + Propriétés : Type 'vec' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: oui + + + + + mode: oui + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + signum + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/SIGNUM.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/signum.c (Type 4) + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SINBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SINBLK_f.xml new file mode 100755 index 000000000..b811edba3 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SINBLK_f.xml @@ -0,0 +1,201 @@ + + + + + SINBLK_f + Sinus + + + Aperçu + + + + + + + + + + Contenu + + + + Sinus + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule le sinus des éléments de son vecteur d'entrée. + + + + $y = \sin(u)$ + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + sinblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/SINBLK_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/sinblk.f (Type 0) + + + + + Voir aussi + + + + TrigFun - Fonction trigonométrique (Bloc Xcos) + + + + + COSBLK_f - Cosinus (Bloc Xcos) + + + + + TANBLK_f - Tangente (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SQRT.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SQRT.xml new file mode 100755 index 000000000..1517e34aa --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SQRT.xml @@ -0,0 +1,229 @@ + + + + + SQRT + Racine carrée + + + Aperçu + + + + + + + + + + Contenu + + + + Racine carrée + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule la racine carrée de chaque élément de la matrice d'entrée. Il supporte les types de données + double et complexe (paramètre Datatype). + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double + (1) et complexe (2). Si on écrit une autre entrée dans ce paramètre Xcos + affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_sqrt + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/SQRT.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/mat_sqrt.c + + + SCI/modules/scicos_blocks/src/c/matz_sqrt.c + + + + + Voir aussi + + + + POWBLK_f - Puissance + + + + + EXPBLK_m - Exponentielle d'un scalaire (Bloc Xcos) + + + + + LOGBLK_m - Logarithme (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUMMATION.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUMMATION.xml new file mode 100755 index 000000000..20b3d3e6f --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUMMATION.xml @@ -0,0 +1,359 @@ + + + + + SUMMATION + Addition/Soustraction de matrices + + + Aperçu + + + + + + + + + + Contenu + + + + Addition/Soustraction de matrices + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc effectue l'addition ou la soustraction des entrées scalaires, vectorielles ou matricielles. + Le types de données en entrée est réglé avec le paramètre Datatype. + Le paramètre Number of inputs or sign vector définit le nombre d'entrées + et l'opération. Pour une entrée vectorielle unique le bloc effectue la somme des éléments du vecteur. + Les vecteurs/matrices d'entrée doivent avoir les mêmes dimensions. + + + Le comportement de ce bloc est résumé dans le tableau suivant : + + + + + + Nombre d'entrées + + + Opération + + + Remarques + + + + Une + y = u + + u est une valeur scalaire et le bloc se comporte comme un gain unitaire. + + + + Une + y = u[1]+u[2]+...+u[N] + + u est un vecteur ou une matrice et la sortie du bloc est la somme des éléments du + vecteur ou de la matrice d'entrée. + + + + Deux ou plus + y = k[1]*u1+k[2]*u2+...+k[N]*uN + + k est une valeur scalaire ou vectorielle écrite dans le paramètre + Number of inputs or sign vector. Pour l'addition de toutes les entrées, + mettre simplement ce paramètre au nombre d'entrées. Pour additionner/soustraire l'entrée + ui, mettre dans ce paramètre un vecteur k avec k[i] + = +1 (addition) ou -1 (soustraction) pour l'entrée ui. + + + + + Avec une entrée entière, lors d'un dépassement de capacité, le résultat peut prendre des formes différentes : + + + 1- Un résultat normal non saturé. Par exemple, si le type est int8 et le résultat 128, la valeur de sortie + du bloc sera -128. + + 2- Un résultat saturé. Pour l'exemple précédent la valeur de sortie du bloc sera 127 + 3- Un message d'erreur prévenant l'utilisateur du dépassement de capacité. + + L'utilisateur peut sélectionner l'une de ces trois formes en mettant le champ + Do on Overflow à 0,1 ou 2. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=complex 3=int32 ...) + + + Il indique le type des données d'entrée/sortie. Il supporte tous les types de données, + le nombre doit être entre 1 et 8. + + Propriétés : Type 'vec' de taille 1. + + + + Number of inputs or sign vector (of +1, -1) + + Il indique le nombre d'entrées et l'opération. Voir la description pour plus de détails. + Propriétés : Type 'vec' de taille -1. + + + + Do on Overflow(0=Nothing 1=Saturate 2=Error) + + + Quand ce paramètre est mis à zéro le résultat est similaire à l'addition normale de deux matrices + entières. Quand il est à 1, sur un dépassement de capacité le bloc sature le résultat. + Quand il est à 2, sur un dépassement de capacité une boîte de message d'erreur est affichée. + Si le type de donnée est double ou complexe ce paramètre n'est pas utilisé. + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + summation + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/SUMMATION.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/summation.c + + + SCI/modules/scicos_blocks/src/c/summation_z.c + + + SCI/modules/scicos_blocks/src/c/summation_i32n.c + + + SCI/modules/scicos_blocks/src/c/summation_i16n.c + + + SCI/modules/scicos_blocks/src/c/summation_i8n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16n.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8n.c + + + SCI/modules/scicos_blocks/src/c/summation_i32s.c + + + SCI/modules/scicos_blocks/src/c/summation_i16s.c + + + SCI/modules/scicos_blocks/src/c/summation_i8s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16s.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8s.c + + + SCI/modules/scicos_blocks/src/c/summation_i32e.c + + + SCI/modules/scicos_blocks/src/c/summation_i16e.c + + + SCI/modules/scicos_blocks/src/c/summation_i8e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui32e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui16e.c + + + SCI/modules/scicos_blocks/src/c/summation_ui8e.c + + + + + Voir aussi + + + + BIGSOM_f - Addition/Soustraction de scalaires ou vecteurs (Xcos block) + + + + + SUM_f - Addition de matrices (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUM_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUM_f.xml new file mode 100755 index 000000000..9dc25ff99 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/SUM_f.xml @@ -0,0 +1,192 @@ + + + + + SUM_f + Addition + + + Aperçu + + + + + + + + + + Contenu + + + + Addition + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Le bloc effectue l'addition de ses trois entrées. Ce bloc peut additionner des entrées scalaires, ou vectorielles. + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + - port 2 : size [-1,1] / type 0 + + + - port 3 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + plusblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/Linear/SUM_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/plusblk.c (Type 2) + + + + + Voir aussi + + + + SUMMATION - Addition/Soustraction de matrices (Xcos block) + + + + + BIGSOM_f - Addition/Soustraction de scalaires ou vecteurs (Xcos block) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TANBLK_f.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TANBLK_f.xml new file mode 100755 index 000000000..4f5fd90cb --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TANBLK_f.xml @@ -0,0 +1,201 @@ + + + + + TANBLK_f + Tangente + + + Aperçu + + + + + + + + + + Contenu + + + + Tangente + + + + + + + Palette + + + + + Description + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Ce bloc calcule la tangente des éléments du vecteur d'entrée. + + + + $y = \tan(u)$ + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + tanblk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/TANBLK_f.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/tanblk.f (Type 0) + + + + + Voir aussi + + + + TrigFun - Fonction trigonométrique (Bloc Xcos) + + + + + COSBLK_f - Cosinus (Bloc Xcos) + + + + + SINBLK_f - Sinus (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TrigFun.xml b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TrigFun.xml new file mode 100755 index 000000000..8a9af75e9 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Mathoperations_pal/TrigFun.xml @@ -0,0 +1,286 @@ + + + + + TrigFun + Fonction trigonométrique + + + Aperçu + + + + + + + + + + Contenu + + + + Fonction trigonométrique + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations mathématiques + + + + + + Description + + Le bloc Trigonometric Function exécute de nombreuses fonctions trigonométriques communes. Vous pouvez sélectionner + une fonction parmi celles citées dans ce tableau : + + + + + + Fonction + + + Définition + + + Sortie + + + + sin + Sinus de l'entrée (radians) + y = sin(u) + + + cos + Cosinus de l'entrée (radians) + y = cos(u) + + + tan + Tangente de l'entrée (radians) + y = tan(u) + + + asin + Arc sinus (radians) de l'entrée + y = asin(u) + + + acos + Arc cosinus (radians) de l'entrée + y = acos(u) + + + atan + 2-quadrant et 4-quadrant arc tangente (radians) de l'entrée + y = atan(u) + + + sinh + Sinus hyperbolique de l'entrée + y = sinh(u) + + + cosh + Cosinus hyperbolique de l'entrée + y = cosh(u) + + + tanh + Tangente hyperbolique de l'entrée + y = tanh(u) + + + + La sortie du bloc est le résultat de la fonction appliquée sur l'entrée scalaire ou sur les éléments du vecteur d'entrée. + + + + Boîte de dialogue + + + + + + + + + + + + + + Function + + La fonction trigonométrique. + Propriétés : Type 'str' de taille 1 + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + sin_blk + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/NonLinear/TrigFun.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/sin_blk.c (Type 4) + + + + + Voir aussi + + + + COSBLK_f - Cosinus (Bloc Xcos) + + + + + SINBLK_f - Sinus (Bloc Xcos) + + + + + TANBLK_f - Tangente (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/AA_Matrix_pal.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/AA_Matrix_pal.xml new file mode 100755 index 000000000..16c64ff50 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/AA_Matrix_pal.xml @@ -0,0 +1,305 @@ + + + + + Matrix_pal + Palette Opérations Matricielles + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + La Palette Opérations matricielles contient les blocs dont vous avez besoin pour faire des opération + matricielles simples et complexes. + + + + Blocs + + + + CUMSUM - Somme cumulative + + + + + EXTRACT - Extraction de matrice + + + + + EXTTRI - Extraction triangulaire ou diagonale + + + + + MATBKSL - Division gauche de matrices + + + + + MATCATH - Concaténation horizontale + + + + + MATCATV - Concaténation verticale + + + + + MATDET - Déterminant d'une matrice + + + + + MATDIAG - Création d'une matrice diagonale + + + + + MATDIV - Division de matrices + + + + + MATEIG - Valeurs propres d'une matrice + + + + + MATEXPM - Exponentielle d'une matrice + + + + + MATINV - Inverse d'une matrice + + + + + MATLU - Factorisation LU + + + + + MATMAGPHI - Complexe à partir de/vers module et phase + + + + + MATMUL - Multiplication de matrices + + + + + MATPINV - Pseudo-inverse d'une matrice + + + + + MATRESH - Remise en forme de matrice + + + + + MATSING - Décomposition SVD + + + + + MATSUM - Somme des éléments d'une matrice + + + + + MATTRAN - Transposée d'une matrice + + + + + MATZCONJ - Conjuguée des éléments d'une matrice + + + + + MATZREIM - Composition/décomposition complexe + + + + + RICC - Equation de Riccati + + + + + ROOTCOEF - Calcul de coefficients + + + + + SQRT - Racine carrée + + + + + SUBMAT - Extraction de sous-matrice + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Matrix_pal/CHAPTER new file mode 100755 index 000000000..1752a1fb3 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Opérations matricielles diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/CUMSUM.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/CUMSUM.xml new file mode 100755 index 000000000..25551719e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/CUMSUM.xml @@ -0,0 +1,287 @@ + + + + + CUMSUM + Somme cumulative + + + Aperçu + + + + + + + + + + Contenu + + + + Somme cumulative + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc CUMSUM additionne les éléments d'une entrée matricielle de dimensions MxN le long des lignes, des colonnes + ou de la première dimension non unitaire. + + + Quand le paramètre Sum along est + initialisé à : + + + + + 1 : Le bloc effectue la somme des élements de chaque ligne. Le + résultat en sortie sera une matrice Mx1. + + + + + + 2 : Le bloc effectue la somme des élements de chaque colonne. Le + résultat en sortie sera une matrice 1xN. + + + + + + 0 : Le bloc effectue l'addition des élements de la première dimension + non unitaire. Le résultat en sortie sera un scalaire. + + + + + + La fonction équivalente dans Scilab est cumsum. + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + Sum along (0=the first non singleton dimension 1=Rows 2=Columns) + + + Indique que la somme se fait sur les lignes, les colonnes, ou la première dimension non unitaire. + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 2 3;4 5 6;7 8 9] + Si la somme est sur les lignes, le résultat sera : + B=[12;15;18] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + cumsum_m + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/CUMSUM.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/cumsum_m.c + + + SCI/modules/scicos_blocks/src/c/cumsum_r.c + + + SCI/modules/scicos_blocks/src/c/cumsum_c.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_m.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_r.c + + + SCI/modules/scicos_blocks/src/c/cumsumz_c.c + + + + + Voir aussi + + + + MATSUM - Somme des éléments d'une matrice (Block Xcos) + + + + + cumsum (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTRACT.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTRACT.xml new file mode 100755 index 000000000..359b501a8 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTRACT.xml @@ -0,0 +1,273 @@ + + + + + EXTRACT + Extraction de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Extraction de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Exemple + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc EXTRACT extrait des éléments de la matrice d'entrée. Les dimensions de la sortie dépendent + du nombre de lignes et du nombre de colonnes à extraire. + + + Les éléments des paramètres Lines to extract et + Columns to extract spécifient respectivement les indices des lignes + et des colonnes à extraire. + + + La rédaction de ces paramètres obéit aux régles d'extraction matricielle (voir + extraction), en particulier, vous pouvez donner un intervalle d'indices + avec l'opérateur deux-points (:). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + Lines to extract + + Un vecteur indiquant les indices des lignes à extraire. + Propriétés : Type 'mat' de taille [1,-1]. + + + + Columns to extract + + Un vecteur indiquant les indices des colonnes à extraire. + Propriétés : Type 'mat' de taille [1,-1]. + + + + + Exemple + + A=[1 2 3;4 5 6;7 8 9] + Si "Lines to extract" est [1 2] et "Column to extract" est [1 3] alors la sortie est + B=[1 3;4 6] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + extract + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/EXTRACT.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/extract.c + + + SCI/modules/scicos_blocks/src/c/extractz.c + + + + + Exemple + + + + + + + + + + + + Voir aussi + + + + EXTTRI - Extraction triangulaire ou diagonale (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTTRI.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTTRI.xml new file mode 100755 index 000000000..22b2be48b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/EXTTRI.xml @@ -0,0 +1,297 @@ + + + + + EXTTRI + Extraction triangulaire ou diagonale + + + Aperçu + + + + + + + + + + Contenu + + + + Extraction triangulaire ou diagonale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonctions de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc EXTTRI extrait des éléments de la matrice d'entrée u. Les dimensions de la matrice de sortie sont les mêmes que celles de la matrice d'entrée. + + + Quand le paramètre extraction type) est initialisé à : + + + + + 1 : Le bloc copie les éléments de et au-dessus de la diagonale + principale dans la matrice de sortie. Les éléments sous la diagonale principale sont mis à 0. + + + + + + 2 : Le bloc copie les éléments de et en-dessous de la diagonale + principale dans la matrice de sortie. Les éléments au-dessus de la diagonale principale sont mis à 0. + + + + + + 3 : Le bloc copie les éléments de la diagonale principale dans + la matrice de sortie. Les éléments sous et au-dessus de la diagonale principale sont mis à 0. + + + + + Les functions équivalentes de EXTTRI dans Scilab sont respectively (1) triu(u), + (2) tril(u) et (3) diag(u) + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + extraction type (1=lower 2=upper 3=diagonal) + + + Il indique la forme de la matrice de sortie. Elle peut être une matrice triangulaire supérieure, + triangulaire inférieure ou diagonale. + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 2 3;4 5 6;7 8 9;10 11 12] + Si le type d'extraction est 2 alors la sortie est + B=[1 0 0;4 5 0;7 8 9;10 11 12] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + extrilz + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/EXTTRI.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/exttril.c + + + SCI/modules/scicos_blocks/src/c/exttriu.c + + + SCI/modules/scicos_blocks/src/c/extdiag.c + + + SCI/modules/scicos_blocks/src/c/exttrilz.c + + + SCI/modules/scicos_blocks/src/c/exttriuz.c + + + SCI/modules/scicos_blocks/src/c/extdiagz.c + + + + + Voir aussi + + + + EXTRACT - Extraction de matrice (Bloc Xcos) + + + + + triu (Fonction Scilab) + + + + + tril (Fonction Scilab) + + + + + diag (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATBKSL.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATBKSL.xml new file mode 100755 index 000000000..daeb2919c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATBKSL.xml @@ -0,0 +1,246 @@ + + + + + MATBKSL + Division à gauche de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Division à gauche de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATBKSL sort la division matricielle à gauche. C'est une solution de A*x=B. L'entrée du haut + est la matrice A, celle du bas la matrice B, et la sortie est x. + Si A est une matrice de dimensions MxN1, B doit être une matrice de dimensions MxN2 où N1 et N2 + peuvent être égaux ou non. La sortie x est de dimensions N1xN2 + + + L'équivalent de MATBKSL dans Scilab est backslash (\). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 7 3;23 32 29] + B=[21 18;13 10] + alors le résultat de l'équation A*x=B est (A\B): + x=[-4.504 -3.922;3.643 3.132;0.000 0.000] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-3] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_bksl + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATBKSL.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_bksl.c + + + SCI/modules/scicos_blocks/src/c/matz_bksl.c + + + + + Voir aussi + + + + MATDIV - Division matricielle (Bloc Xcos) + + + + + MATMUL - Multipication matricielle (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATH.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATH.xml new file mode 100755 index 000000000..f2abfc249 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATH.xml @@ -0,0 +1,241 @@ + + + + + MATCATH + Concaténation horizontale + + + Aperçu + + + + + + + + + + Contenu + + + + Concaténation horizontale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATCATH sort la concaténation horizontale de plusieurs matrices. Cette opération est + aussi appelée concaténation selon les colonnes. Les entrées U1,U2,...,Un doivent avoir le même + nombre de lignes. L'utilisateur doit donner le nombre de matrices d'entrée dans le paramètre + Number of input. + + + La sortie est une matrice Mx(N1+N2+...+Nn), où les N1,N2,...,Nn sont les nombres de colonnes des matrices d'entrée, et M le nombre de lignes. + + L'équivalent de MATCATH dans Scilab est y=[U1 U2 ... Un]. + + + + Boîte de dialogue + + + + + + + + + + + + Number of inputs + + + Indique le nombre de matrices d'entrée. + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 2 3;4 5 6] + B=[7 8;9 10] + Le résultat de la concaténation horizontale est: + C=[1 2 3 7 8;4 5 6 9 10] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_cath + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATCATH.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_cath.c + + + SCI/modules/scicos_blocks/src/c/matz_cath.c + + + + + Voir aussi + + + + MATCATV - Concaténation Verticale (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATV.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATV.xml new file mode 100755 index 000000000..a6294c808 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATCATV.xml @@ -0,0 +1,242 @@ + + + + + MATCATV + Concaténation verticale + + + Aperçu + + + + + + + + + + Contenu + + + + Concaténation verticale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATCATV sort la concaténation verticale de plusieurs matrices. Cette opération est aussi + appellée concaténation selon les lignes. Les entrées U1,U2,...,Un doivent avoir le même nombre de + colonnes.L'utilisateur doit donner le nombre de matrices d'entrée dans le paramètre + Number of input. + + + La sortie est une matrice (M1+M2+...+Mn)xN, où les M1,M2,...,Mn sont les nombres de lignes des + matrices d'entrée, et N le nombre de lignes. + + L'équivalent de MATCATV dans Scilab est y=[U1;U2;...;Un] + + + + Boîte de dialogue + + + + + + + + + + + + Number of inputs + + + Indique le nombre de matrices d'entrée. + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 2;3 4;5 6] + B=[7 8;9 10] + Le résultat de la concaténation verticale est : + C=[1 2;3 4;5 6;7 8;9 10] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-1,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_catv + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATCATV.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_catv.c + + + SCI/modules/scicos_blocks/src/c/matz_catv.c + + + + + Voir aussi + + + + MATCATH - Concaténation horizontale (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDET.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDET.xml new file mode 100755 index 000000000..309c7e79e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDET.xml @@ -0,0 +1,247 @@ + + + + + MATDET + Déterminant de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Déterminant de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATDET sort le déterminant d'une matrice d'entrée carrée. Si l'entrée est : + + + A=[A11 A12 A13;A21 A22 A23;A31 A32 A33] + + + alors la sortie du bloc est de la forme : + + + y=A11*(A22*A33-A23*A32)-A12*(A21*A33-A23*A31)+A13*(A21*A32-A22*A31). + + + La fonction équivalente de MATDET dans Scilab est det. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + U=[1 0 63;2 -2 5;9 9 4] + y=2215 + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_det + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDET.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/mat_det.c + + + SCI/modules/scicos_blocks/src/c/matz_det.c + + + + + Voir aussi + + + + MATINV - Matrice inverse (Bloc Xcos) + + + + + det (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIAG.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIAG.xml new file mode 100755 index 000000000..6168a0b44 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIAG.xml @@ -0,0 +1,239 @@ + + + + + MATDIAG + Création de matrice diagonale + + + Aperçu + + + + + + + + + + Contenu + + + + Création de matrice diagonale + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATDIAG crée une matrice diagonale à partir d'un vecteur. Si l'entrée est un vecteur + Mx1 alors la sortie est une matrice MxM. + + + La fonction équivalente de MATDIAG dans Scilab est diag(vm) avec vm un vecteur colonne. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + si l'entrée du bloc est U=ones(5,1) alors la sortie est : + y=[1 0 0 0 0;0 1 0 0 0;0 0 1 0 0;0 0 0 1 0;0 0 0 0 1] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_diag + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDIAG.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_diag.c + + + SCI/modules/scicos_blocks/src/c/matz_diag.c + + + + + Voir aussi + + + + EXTTRI - Extraction triangulaire ou diagonale (Bloc Xcos) + + + + + diag (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIV.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIV.xml new file mode 100755 index 000000000..8bf25d6ca --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATDIV.xml @@ -0,0 +1,248 @@ + + + + + MATDIV + Division matricielle + + + Aperçu + + + + + + + + + + Contenu + + + + Division matricielle + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATDIV sort la division matricielle à droite. C'est une solution de x*B=A. + L'entrée du haut est la matrice A, celle du bas la matrice B, et la sortie est x. + + + Si A est une matrice de dimensions M1xN, B doit être une matrice de dimensions + M2xN où M1 et M2 peuvent être égaux ou non. La sortie x est une matrice de dimensions M1xM2. + + + L'équivalent de MATDIV dans Scilab est slash (/). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 7 3;23 32 29] + B=[21 18 34;13 10 19;11 54 36] + talors de résultat de l'équation x*B=A est (A/B) : + x=[-0.475 0.712 0.156;-4.350 8.381 0.491] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-3] / type 1 + + + - port 2 : size [-2,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_div + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATDIV.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_div.c + + + SCI/modules/scicos_blocks/src/c/matz_div.c + + + + + Voir aussi + + + + MATBKSL - Division matricielle à gauche + + + + + MATMUL - Multiplication matricielle + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEIG.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEIG.xml new file mode 100755 index 000000000..cbf7f6c90 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEIG.xml @@ -0,0 +1,271 @@ + + + + + MATEIG + Valeurs propres d'une matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Valeurs propres d'une matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATEIG calcule les valeurs et les vecteurs propres d'une matrice carrée d'entrée + U. Quand le paramètre decomposition type est initialisé à : + + + + + 1, Les sorties du bloc sont les valeurs propres sous + la forme d'un vecteur. Si l'entrée est une matrice MxM, la sortie est un vecteur Mx1. + + + + + + 2, Les sorties du bloc sont deux matrices. Pour une matrice + d'entrée MxM, la première sortie est une matrice diagonale MxM composée des valeurs propres, + et la deuxième une matrice MxM dont les colonnes sont les vecteurs propres. + + + + + L'équivalent du bloc MATEIG dans Scilab est spec + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + decomposition type (1=eig values 2=eig values+eig vectors + + Pour sélectionner la forme de la sortie. + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 12 32;21 35 46;70 8 19] + Quand "Decomposition type" est mis à 1 la sortie est y=[-35.649;14.279;76.369] + Quand "Decomposition type" est mis à 2 les sorties sont: + y1=[-35.649 0.000 0.000;0.000 14.279 0.000;0.000 0.000 76.369] + y2=[0.557 0.080 0.349;0.330 -0.922 0.770;-0.762 0.379 0.533] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 2 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_vps + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATEIG.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_vps.c + + + SCI/modules/scicos_blocks/src/c/mat_vpv.c + + + SCI/modules/scicos_blocks/src/c/matz_vps.c + + + SCI/modules/scicos_blocks/src/c/matz_vpv.c + + + + + Voir aussi + + + + MATSING - Décomposition en valeurs singulières (SVD) (Bloc Xcos) + + + + + spec (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEXPM.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEXPM.xml new file mode 100755 index 000000000..3ea372211 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATEXPM.xml @@ -0,0 +1,239 @@ + + + + + MATEXPM + Exponentielle matricielle + + + Aperçu + + + + + + + + + + Contenu + + + + Exponentielle matricielle + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATEXPM sort l'exponentielle matricielle d'une matrice d'entrée carrée calculée par l'approximation + de Padé's. La sortie est une matrice carrée de mêmes dimensions que la matrice d'entrée. + + + L'équivalent du bloc MATEXPM dans Scilab est expm. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + u=[1 2 3;2 3 1;4 2 1] + y=[182.612 196.518 141.735;172.973 190.770 133.577;204.677 220.063 159.067] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_expm + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATEXPM.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_expm.c + + + SCI/modules/scicos_blocks/src/c/matz_expm.c + + + + + Voir aussi + + + + MATMUL - Multiplication matricielle (Bloc Xcos) + + + + + expm (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATINV.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATINV.xml new file mode 100755 index 000000000..f58463306 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATINV.xml @@ -0,0 +1,232 @@ + + + + + MATINV + Matrice inverse + + + Aperçu + + + + + + + + + + Contenu + + + + Matrice inverse + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATINV sort l'inverse d'une matrice d'entrée carrée calculée en utilisant la factorisation LU. + Un message d'avertissement est affiché si l'entrée est mal conditionnée ou presque singulière. + + + La fonction équivalente de ce bloc dans Scilab est inv. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_inv + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATINV.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_inv.c + + + SCI/modules/scicos_blocks/src/c/matz_inv.c + + + + + Voir aussi + + + + MATLU - Factorisation LU (Bloc Xcos) + + + + + MATPINV - Pseudo-inverse d'une matrice (Bloc Xcos) + + + + + inv (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATLU.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATLU.xml new file mode 100755 index 000000000..69d8639b2 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATLU.xml @@ -0,0 +1,238 @@ + + + + + MATLU + Factorisation LU + + + Aperçu + + + + + + + + + + Contenu + + + + Factorisation LU + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATLU sort deux matrices L et U, avec permutation des lignes, à partir de la factorisation LU + de la matrice d'entrée carrée. Si A est la matrice d'entrée alors: + + + + E*A=L*U + + + + où E est la matrice de permutation, U une matrice triangulaire supérieure et L une matrice triangulaire inférieure. + + + La fonction équivalente de ce bloc dans Scilab est [l,u,e]=lu(A). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + - port 2 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_lu + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATLU.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/mat_lu.c + + + SCI/modules/scicos_blocks/src/c/matz_lu.c + + + + + Voir aussi + + + + MATINV - Matrice inverse (Bloc Xcos) + + + + + lu (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATMUL.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATMUL.xml new file mode 100755 index 000000000..209e5ac3b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATMUL.xml @@ -0,0 +1,322 @@ + + + + + MATMUL + Multiplication de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Multiplication de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATMUL calcule le produt d'une matrice d'entrée par une matrice ou un scalaire. + + + Quand le paramètre Multiplication rule est initialisé à : + + + + + 1, (produit matriciel) le nombre de lignes de la première matrice + doit être égal au nombre de colonnes de la seconde matrice. La sortie est une matrice dont le nombre + de lignes est égal à celui de la première matrice et le nombre de colonnes égal à celui de la deuxième + matrice. + + + + + + 2, (produit élément par élément) les matrices doivent être de mêmes + dimensions. La sortie est une matrice de mêmes dimensions que les matrices d'entrée. + + + + + + 3, (produit par un scalaire) la sortie est une matrice de mêmes + dimensions que la matrice d'entrée. + + + + + + Pour des entrées entières lors d'un dépassement de capacité, le bloc donne trois formes de résultats : + + + 1- Un résultat normal non saturé. Par exemple, si le type est int8 et le résultat 128, la valeur de sortie + du bloc sera -128. + + 2- Un résultat saturé. Pour l'exemple précédent la valeur de sortie du bloc sera 127 + 3- Un message d'erreur prévenant l'utilisateur du dépassement de capacité. + + L'utilisateur peut sélectionner l'une de ces trois formes en mettant le champ + Do on Overflow à 0,1 ou 2. + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + Multiplication rule (1= * 2= .* ) + + Sélectionne la régle de mutiplication. Voir la description pour plus d'informations + Propriétés : Type 'vec' de taille 1. + + + + Do on Overflow(0=Nothing 1=Saturate 2=Error) + + + Quand ce paramètre est mis à zéro le résultat est similaire à la multiplication + normale de deux matrices entières. Quand il est à 1, lors d'un dépassement de capacité + le bloc sature le résultat. Quand il est à 2, lors d'un dépassement de capacité un + dialogue de message d'erreur est affiché. + + + Pour des entrées de type double ou complexe ce paramètre est ignoré. + + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + + A=[1 2 3;4 5 6] + B=[9 8 7 6;5 4 3 2;9 7 5 3] + y=[46 37 28 19;115 94 73 52] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + - port 2 : size [-2,-3] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-3] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + matmul_m + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATMUL.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/matmul_m.c + + + SCI/modules/scicos_blocks/src/c/matzmul_m.c + + + SCI/modules/scicos_blocks/src/c/matmul2_m.c + + + SCI/modules/scicos_blocks/src/c/matzmul2_m.c + + + + + Voir aussi + + + + INTMUL - Multiplication de matrices d'entiers (Bloc Xcos) + + + + + MATDIV - Division de matrices (Bloc Xcos) + + + + + MATBKSL - Division à gauche de matrices (Bloc Xcos) + + + + + MATEXPM - Exponentielle matricielle (Bloc Xcos) + + + + + SUMMATION - Addition/Soustraction matricielle (Bloc Xcos) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATPINV.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATPINV.xml new file mode 100755 index 000000000..096546fc7 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATPINV.xml @@ -0,0 +1,244 @@ + + + + + MATPINV + Pseudo-inverse de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Pseudo-inverse de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATPINV sort l'inverse d'une matrice d'entrée rectangulaire en utilisant la + décomposition en valeurs singulières (SVD). Si la décomposition SVD de A est égale à : + + A=USV' + La pseudo inverse X de A est donnée par : + + X=VS"U' où S"(i,j)=1/S(i,j) (if S(i,j) =0), U' et V sont respectivement les transposées + de U et V'. + + + et nous avons A*X*A=A et X*A*X=X. A*X et X*A sont toutes deux Hermitiennes. + Un message d'avertissement est affiché si les matrices sont mal conditionnées ou + presques singulières. + + Quand l'entrée est une matrice MxN la sortie est une matrice NxM. + + La fonction équivalente de ce bloc dans Scilab est pinv. + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_pinv + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATPINV.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_pinv.c + + + SCI/modules/scicos_blocks/src/c/matz_pinv.c + + + + + Voir aussi + + + + MATINV - Matrice inverse (Bloc Xcos) + + + + + MATSING - Décomposition en valeurs singulières (SVD) (Bloc Xcos) + + + + + pinv (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATRESH.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATRESH.xml new file mode 100755 index 000000000..325b4925a --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATRESH.xml @@ -0,0 +1,258 @@ + + + + + MATRESH + Remise en forme de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Remise en forme de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc RESHAPE change les dimensions de la matrice ou du vecteur d'entrée vers d'autres dimensions spécifiées par + l'utilisateur dans le paramètre output size desired. + Les dimensions de la sortie doivent inférieures ou égales à celles de l'entrée précisées par le paramètre + input size. + + + La fonction équivalente de ce bloc dans Scilab est matrix (Attention :Vous devez + spécifier les deux dimensions de sortie explicitement et ne pas utiliser -1 pour indiquer + qu'une dimension doit être calculée comme dans matrix). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille -1. + + + + input size + + Indique les dimaensions de la matrice d'entrée. + Propriétés : Type 'vec' de taille -1. + + + + output size desired + + Indique les dimaensions désirées de la matrice de sortie. + Propriétés : Type 'vec' de taille -1. + + + + + Exemple + + u=[1 2 3 4;5 6 7 8] + Quand la sortie désirée est [1;6] la sortie est : + y=[1 2 3 4 5 6] + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_reshape + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATRESH.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_reshape.c + + + SCI/modules/scicos_blocks/src/c/matz_reshape.c + + + + + Voir aussi + + + + EXTRACT - Extraction de matrice (Bloc Xcos) + + + + + matrix (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSING.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSING.xml new file mode 100755 index 000000000..bb620802e --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSING.xml @@ -0,0 +1,266 @@ + + + + + MATSING + Décomposition en valeurs singulières (SVD) + + + Aperçu + + + + + + + + + + Contenu + + + + Décomposition en valeurs singulières (SVD) + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATSING calcule la décomposition SVD réduite de la matrice d'entrée A de dimensions MxN en + trouvant U,S et V tels que : + + A=U*S*V'. + + Quand le paramètre decomposition type est initialisé à : + + + + + 1 : la sortie est un vecteur composé des valeurs singulières. + + + + + + 2 : il y a trois sorties, la première est une matrice diagonale + S composée avec les valeurs singulières. Les deux autres sont les matrices unitaires U and V. + + + + + La fonction équivalente de ce bloc dans Scilab est svd(A,"e"). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + decomposition type (1=singular values 2=sing values+matrix U & V) + + + Indique la forme de la sortie. Quand il est mis à 1, nous avons une sortie unique vectorielle + (valeurs singulière). Quand il est mis à 2 nous avons trois matrices de même taille (U,S,V). + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_sing + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATSING.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_sing.c + + + SCI/modules/scicos_blocks/src/c/mat_svd.c + + + SCI/modules/scicos_blocks/src/c/matz_sing.c + + + SCI/modules/scicos_blocks/src/c/matz_svd.c + + + + + Voir aussi + + + + MATEIG - Valeurs propres d'une matrice (Bloc Xcos) + + + + + MATLU - Factorisation LU (Bloc Xcos) + + + + + svd (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSUM.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSUM.xml new file mode 100755 index 000000000..595106a63 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATSUM.xml @@ -0,0 +1,278 @@ + + + + + MATSUM + Somme des éléments d'une matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Somme des éléments d'une matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc MATSUM retourne la somme des éléments d'une matrice/vecteur d'entrée. + Quand le paramètre Sum along est initialisé à : + + + + + 0 (all) : le bloc sort la somme de tous les éléments de la matrice + La sortie est un scalaire. + + + + + + 1 (lines): le bloc effectue la somme des éléments des lignes. La sortie + est un vecteur ligne. + + + + + + 2 (Columns): le bloc effectue la somme des éléments des colonnes. + La sortie est un vecteur colonne. + + + + + La fonction équivalente de ce bloc dans Scilab est sum. + + + + + Boîte de dialogue + + + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + Sum along (0=all 1=lines 2=Columns) + + + Indique la régle utilisée pour la somme. Pour plus d'information voir la partie description. + + Propriétés : Type 'vec' de taille 1. + + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mat_sum + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATSUM.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mat_sum.c + + + SCI/modules/scicos_blocks/src/c/mat_suml.c + + + SCI/modules/scicos_blocks/src/c/mat_sumc.c + + + SCI/modules/scicos_blocks/src/c/matz_sum.c + + + SCI/modules/scicos_blocks/src/c/matz_suml.c + + + SCI/modules/scicos_blocks/src/c/matz_sumc.c + + + + + Voir aussi + + + + SUBMAT - Extraction de sous-matrice (Bloc Xcos) + + + + + SUMMATION - Addition/Soustraction de matrices (Bloc Xcos) + + + + + sum (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATTRAN.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATTRAN.xml new file mode 100755 index 000000000..c1a62e21f --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATTRAN.xml @@ -0,0 +1,274 @@ + + + + + MATTRAN + Transposée de matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Transposée de matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Ce bloc transpose une matrice MxN vers une matrice NxM. Le résultat dépend du paramètre rule. Quand ce paramètre est égal à : + + + + + 1 : Le bloc sort la matrice transposée. + + + + + + 2 : Le bloc sort la matrice transposée de la matrice conjuguée. + + + + + Les opérateurs équivalents de MATTRAN dans Scilab sont respectivement y=u.' et y=u'. Voir quote ('). + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + rule(1=.' 2=') + + Indique la régle de transposition. Voir la description pour plus d'information. + Propriétés : Type 'vec' de taille 1. + + + + + Exemple + | 2+3i 5-8i | +-- -- | 3+2i 6-2i | +. -- -- +. Complexe +-- -- -- -- +| 1+i 2+3i 3+2i | Tranposée (') | 1- i 4- i | +| 4+i 5-8i 6-2i | -----------> | 2-3i 5+8i | +-- -- | 3-2i 6+2i | +. -- -- +. Réel +-- -- -- -- +| 1 -2 3 | Tranpose | 1 4 | +| 4 5 6 | -----------> |- 2 5 | +-- -- | 3 6 | +. -- -- + ]]> + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + mattran_m + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATTRAN.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/mattran_m.c + + + SCI/modules/scicos_blocks/src/c/matztran_m.c + + + + + Voir aussi + + + + MATZCONJ - Conjugée de matrice (Bloc Xcos) + + + + + quote (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATZCONJ.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATZCONJ.xml new file mode 100755 index 000000000..1df22039c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/MATZCONJ.xml @@ -0,0 +1,210 @@ + + + + + MATZCONJ + Conjuguée des éléments d'une matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Conjuguée des éléments d'une matrice + + + + + + + Palette + + + + + Description + + + + + Exemple + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Ce bloc calcule une matrice contenant la conjuguée des éléments d'une matrice + d'entrée complexe. + + + La fonction équivalente de ce bloc dans Scilab est conj. + + + + + Exemple + | 4-i 5+8i 6+2i | +-- -- -- -- + ]]> + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 2 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + matz_conj + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/MATZCONJ.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/matz_conj.c + + + + + Voir aussi + + + + MATTRAN - Transposée de matrice (xcos Block) + + + + + conj (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/RICC.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/RICC.xml new file mode 100755 index 000000000..1190263a7 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/RICC.xml @@ -0,0 +1,282 @@ + + + + + RICC + Equation de Riccati + + + Aperçu + + + + + + + + + + Contenu + + + + Equation de Riccati + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Le bloc calcule la solution de l'équation de Riccati en utilisant différentes méthodes et les deux cas + continu et discret. + + + Quand le paramètre Type est initialisé à : + + + + + 1 : L'équation de Riccati en temps continu est : + + + A*X+X*A+C-X*D*X=0 + + + + + 2 : L'équation de Riccati en temps discret est : + + + A*X*(inv(In-D))*A-X+C=0 + + + + + Dans ces équations A est une matrice de dimensions NxN, c'est la première entrée du bloc, + C et D sont deux matrices symétriques de dimensions NxN et sont respectivement la seconde et la troisième + entrée du bloc RICC. X représente la sortie du bloc, c'est aussi une matrice de dimensions NxN. + + + L'utilisateur peut choisir entre deux méthodes de calcul avec le paramètre Model. + Si ce paramètre est initialisé à : + + + + + 1 : le bloc utilise la méthode de Schur pour les cas continu et discrets. + + + + + + 2 : le bloc utilise la méthode approchée par la fonction signe de matrice + pour le temps continu et la méthode de décomposition spectrale inverse libre pour le temps discret. + + + + + + + Boîte de dialogue + + + + + + + + + + + + Type (1=Cont 2=Disc) + + For continuous time signal set this parameter to 1. For discrete + input time set it to 2. + + Propriétés : Type 'vec' de taille 1. + + + + Model(1=Schr 2=sign(cont) inv(disc)) + + + Pour utiliser la méthode de Schur dans le calcul, mettre ce paramètre à 1. + Pour utiliser l'approche par la fonction de signe matriciel dans le cas continu + ou la méthode de décomposition spectrae inverse libre dans le cas discret + mettre ce paramètre à 2. + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-1] / type 1 + + + - port 2 : size [-1,-1] / type 1 + + + - port 3 : size [-1,-1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + ricc_m + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/RICC.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/ricc_m.c + + + + + Voir aussi + + + + ricc (Fonction Scilab) + + + + + riccati (Fonction Scilab) + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/ROOTCOEF.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/ROOTCOEF.xml new file mode 100755 index 000000000..fc590c3f1 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/ROOTCOEF.xml @@ -0,0 +1,211 @@ + + + + + ROOTCOEF + Calcul des coefficients d'un polynôme + + + Aperçu + + + + + + + + + + Contenu + + + + Calcul des coefficients d'un polynôme + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Ce bloc calcule les coefficients d'un polynôme donné par ses racines. Ces racines sont données sur l'entrée + sous la forme d'un veceur colonne. La longueur du vecteur de coefficients doit être spécifiée dans le + paramètre input row size. + + + + Boîte de dialogue + + + + + + + + + + + + Datatype(1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + input row size + + Le nombre de lignes du vecteur d'entrée. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + regular outputs: + + + - port 1 : size [-2,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + root_coef + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/ROOTCOEF.sci + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/root_coef.c + + + SCI/modules/scicos_blocks/src/c/rootz_coef.c + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Matrix_pal/SUBMAT.xml b/modules/xcos/help/fr_FR/palettes/Matrix_pal/SUBMAT.xml new file mode 100755 index 000000000..8efdc3b71 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Matrix_pal/SUBMAT.xml @@ -0,0 +1,255 @@ + + + + + SUBMAT + Extraction de sous-matrice + + + Aperçu + + + + + + + + + + Contenu + + + + Extraction de sous-matrice + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + + + + Palette + + + + Palette Opérations matricielles + + + + + + Description + + Ce bloc sort une sous-matrice à partir de la matrice d'entrée. Les dimensions de la matrice d'entrée + sont spécifiées dans le paramètre Input Dimension. L'utilisateur + donne l'intervalle d'extraction avec quatre paramètres : + + + + + Les paramètres Starting Row Index et + Ending Row Index spécifient l'intervalle de lignes à extraire. + + + + + + Les paramètres Starting Column Index et + Ending Column Index spécifient l'intervalle de colonnes à extraire. + + + + + + + Boîte de dialogue + + + + + + + + + + + + Datatype (1=real double 2=Complex) + + + Il indique le type de la sortie. Il supporte seulement les types double (1) et complexe (2). + Si on entre une autre valeur dans ce paramètre, Xcos affiche le message "Datatype is not supported". + + Propriétés : Type 'vec' de taille 1. + + + + Starting Row Index + + La première ligne de la sous-matrice. + Propriétés : Type 'vec' de taille 1. + + + + Ending Row Index + + La dernière ligne de la sous-matrice. + Propriétés : Type 'vec' de taille 1. + + + + Starting Column Index + + La première colonne de la sous-matrice. + Propriétés : Type 'vec' de taille 1. + + + + Ending Column Index + + La dernière colonne de la sous-matrice. + Propriétés : Type 'vec' de taille 1. + + + + Input Dimension + + Les dimensions de la matrice d'entrée. + Propriétés : Type 'vec' de taille 2. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + submat + + + + + + Fonction d'interfaçage + + + SCI/modules/scicos_blocks/macros/MatrixOp/SUBMAT.sci + + + + + Fonctions de calcul + + + SCI/modules/scicos_blocks/src/c/submat.c + + + SCI/modules/scicos_blocks/src/c/submatz.c + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/AA_Portaction_pal.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/AA_Portaction_pal.xml new file mode 100755 index 000000000..17810c3b5 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/AA_Portaction_pal.xml @@ -0,0 +1,112 @@ + + + + + Portaction_pal + Palette Port & Sous-systèmes + + + Aperçus + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + La palette Port & Sous-systèmes contient les blocs de création de sous-systèmes. + + + Blocs + + + + CLKINV_f — Port d'activation d'entrée. Sélection d'événement + + + + + CLKOUTV_f — Port d'activation de sortie. Sélection d'événement. + + + + + IN_f - Port d'entrée régulier + + + + + INIMPL_f — Port d'entrée implicite. + + + + + OUTIMPL_f — Port de sortie implicite + + + + + OUT_f - Port de sortie régulier + + + + + SUPER_f — Super bloc + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CHAPTER new file mode 100755 index 000000000..28ca5b0be --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Port & Sous-systèmes diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKINV_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKINV_f.xml new file mode 100755 index 000000000..47a6ad25b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKINV_f.xml @@ -0,0 +1,230 @@ + + + + + CLKINV_f + Port d'entrée d'activation + + + Aperçu + + + + + + + + + + Contenu + + + + Port d'entrée d'activation + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palettes + + + + Palette Ports & Sous-systèmes + + + + + Palette Sources + + + + + Palette Gestion d'événements + + + + + + Description + + Ce bloc représente une port d'entrée d'évènement. Il doit être utilisé uniquement à l'intérieur d'un Super bloc Xcos et être + connecté à un port d'entrée d'activation dans le sous-système. + + + Ce bloc est une liaison d'événement d'un système dans un sous-système. Dans un Super bloc, les ports d'entrée d'événement + doivent être numérotés de 1 au nombre total d'entrées d'événements du Super bloc. Chaque numéro d'entrée d'activation doit + être unique et défini avec le paramètre Port number. + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + Un entier définissant le numéro de port. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 1 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + input + + + + + + Exemple + + Dans cet exemple nous créons un genérateur d'onde carrée avec deux sorties inverses l'une de l'autre. + en utilisant un bloc SUPER_f avec le contenu décrit par la figure suivante, dans laquelle vous pouvez voir + l'utilisation du bloc CLKINV_f comme entrée d'événement du générateur d'onde carrée. + + + + + + + + + + + + La figure suivante montre la sortie du Super bloc : + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sources/CLKINV_f.sci + + + + + + Voir aussi + + + CLKOUTV_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKOUTV_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKOUTV_f.xml new file mode 100755 index 000000000..cf18d310b --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/CLKOUTV_f.xml @@ -0,0 +1,229 @@ + + + + + CLKOUTV_f + Port de sortie d'activation + + + Aperçu + + + + + + + + + + Contenu + + + + Port de sortie d'activation port + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palette + + + + Palette Ports & Sous-systèmes + + + + + Palette Sinks + + + + + Palette gestion d'événements + + + + + + Description + + Ce bloc représente une port de sortie d'activation. Il doit être seulement utilisé à l'intérieur d'un Super Bloc Xcos et être + connecté à un port de sortie d'activation dans le sous-système. + + + Ce bloc est une liaison d'événement d'un système dans un sous-système. Dans un superbloc, les ports de sortie d'activation + doivent être numérotés de 1 au nombre total de sortie d'activation du Super bloc. Chaque numéro de sortie d'activation doit + être unique et défini avec le paramètre Port number. + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + An integer defining the port number. + Properties : Type 'vec' of size 1. + + + + + Propriétés par défaut + + + + always active: no + + + + + direct-feedthrough: no + + + + + zero-crossing: no + + + + + mode: no + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: no + + + + + discrete-time state: no + + + + + object discrete-time state: no + + + + + name of computational function: + output + + + + + + Exemple + + Le Super block ci-dessous est principalement un diviseur de fréquence par 4, associé à une génération d'événement à l'instant + + t = 3 s + + . + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sinks/CLKOUTV_f.sci + + + + + + Voir aussi + + + CLKINV_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/INIMPL_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/INIMPL_f.xml new file mode 100755 index 000000000..ad57b1de7 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/INIMPL_f.xml @@ -0,0 +1,233 @@ + + + + + INIMPL_f + Port d'entrée implicite + + + Aperçu + + + + + + + + + + Contenu + + + + Port d'entrée implicite + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palettes + + + + Port & Sous-systèmes + + + + + Sources + + + + + + Description + + Ce bloc représente une port d'entrée implicite. Il doit être utilisé uniquement à l'intérieur d'un Super bloc Xcos et être connecté une entrée implicite dans le sous-système. + + + Ce bloc est une liaison de signal d'un système dans un sous-système. Dans un Super bloc, les ports d'entrée implicites + doivent être numérotés de 1 au nombre total d'entrées implicites du Super bloc. Chaque numéro d'entrée implicite doit être + unique et défini avec le paramètre Port number. + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + Un entier définissant le numéro de port. + Properties : Type 'vec' of size 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular outputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + inimpl + + + + + + Exemple + + L'exemple suivant montre l'utilisation du bloc INIMPL_f. Le Super bloc contient un circuit électrique simple avec deux entrées, une sur la résistance, l'autre pour la masse. Ces entrées sont connectées à l'environnement extérieur du bloc à travers deux blocs INIMPL_f numérotés + 1 et 2. La sortie du Super block est connectée via le bloc OUTIMPL_f. + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sources/INIMPL_f.sci + + + + + + Voir aussi + + + OUTIMPL_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/IN_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/IN_f.xml new file mode 100755 index 000000000..653e21a03 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/IN_f.xml @@ -0,0 +1,271 @@ + + + + + IN_f + Port d'entrée régulier + + + Aperçu + + + + + + + + + + Contenu + + + + Port d'entrée régulier + + + + + + + Palette + + + + + Description + + + + + Type de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + + + + Palettes + + + + Palette Port & Sous-systèmes + + + + + Palette Sources + + + + + + Description + + Ce bloc représente un port d'entrée régulier. Il doit seulement être utilisé à l'intérieur + des Super Blocs Xcos et être connecté sur un entrée régulière dans le sous-système. + + + Ce bloc est une liaison de signal d'un système dans un sous-système. Dans un Super Bloc, + les ports d'entrée réguliers doivent être numérotés de 1 au nombre de ports d'entrée + réguliers. Vous pouvez l'initialiser avec le paramètre Port number. + + + + Types de données + + + + Sortie : même type que l'entrée qui lui est connectée dans le sous-système. + + + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + Un entier définissant le numéro de port. + Propriétés : Type 'vec' de taille 1. + + + + Output port size + + Un vecteur de deux entiers qui définit les + dimensions attendues du signal ([#lignes #colones]). + Par défaut la valeur de ce champ est [-1 -2] ce qui + signifie que les dimensions du signal sont héritées du + niveau supérieur. Il peut être nécéssaire d'imposer + les valeurs effectives des dimensions pour la + compilation séparée du super bloc (Génération de code, + ...). + + Properties : Type 'vec' of size -1. + + + + Output port type + + Un entier qui spécifie le type de signal attendu sur ce port. + Par défaut la valeur de ce champ est -1 ce qui + signifie que le type du signal est hérité du + niveau supérieur. Il peut être nécéssaire d'imposer + une valeur effective du type pour la + compilation séparée du super bloc (Génération de code, + ...). + ). + + Properties : Type 'vec' of size 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular outputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + input + + + + + + Exemple + + Dans l'exemple suivant le Super bloc créé est un modulateur d'amplitude. + Le bloc IN_f est utilisé comme entrée de signal de modulation. + Son type de données est défini par le type d'entrée du bloc de gain qui est un scalaire de type double. + + + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sources/IN_f.sci + + + + + + Voir aussi + + + OUT_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUTIMPL_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUTIMPL_f.xml new file mode 100755 index 000000000..639d97d3a --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUTIMPL_f.xml @@ -0,0 +1,238 @@ + + + + + OUTIMPL_f + Port de sortie implicite + + + Aperçu + + + + + + + + + + Contenu + + + + Port de sortie implicite + + + + + + + Palette + + + + + Description + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palettes + + + + Palette Port & Sous-systèmes + + + + + Palette Sinks + + + + + + Description + + Ce bloc représente un port de sortie implicite. Il doit seulement être utilisé à l'intérieur + des Super Bloc Xcos et être connecté sur une sortie implicite dans le sous-système. + + + Ce bloc est une liaison de signal d'un système dans un sous-système. Dans un Super Bloc, + les ports de sortie implicites doivent être numérotés de 1 au nombre de ports de sortie + réguliers. Vous pouvez l'initialiser avec le paramètre Port number. + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + Un entier définissant le numéro de port. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,1] / type 1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + outimpl + + + + + + Exemple + + Dans l'exemple suivant le Super bloc est un simple commutateur à transistor. + + + + + + + + + + + + La figure suivante montre l'utilisation du Super bloc et la sortie résultante lorsque son entrée est basculée entre les potentiels GND et Vcc. Vous pouvez voir sur la sortie l'effet de la tension de saturation du transistor (sortie minimale = 0.4 Volt). + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sinks/OUTIMPL_f.sci + + + + + + See also + + + INIMPL_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUT_f.xml b/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUT_f.xml new file mode 100755 index 000000000..04a69da54 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Portaction_pal/OUT_f.xml @@ -0,0 +1,249 @@ + + + + + OUT_f + Port de sortie régulier + + + Aperçu + + + + + + + + + + Contenu + + + + Port de sortie régulier + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Voir aussi + + + + + + + + Palettes + + + + Palette Port & Sous-systèmes + + + + + Palette Sinks + + + + + + Description + + Ce bloc représente un port de sortie régulier. Il doit seulement être utilisé à l'intérieur + des Super Blocs Xcos et être connecté sur une sortie régulière dans le sous-système. + + + Ce bloc est une liaison de signal d'un système dans un sous-système. Dans un Super Bloc, + les ports de sortie réguliers doivent être numérotés de 1 au nombre de ports de sortie + réguliers. Vous pouvez l'initialiser avec le paramètre Port number. + + + + Types de données + + + + Sortie : même type que la sortie qui lui est connectée dans le sous-système. + + + + + + Boîte de dialogue + + + + + + + + + + + + Port number + + Un entier définissant le numéro de port. + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [-1,-2] / type -1 + + + + + number/sizes of activation inputs: 0 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: non + + + + + object discrete-time state: non + + + + + name of computational function: + output + + + + + + Exemple + + Dans l'exemple suivant le Super bloc englobe deux non linéarités. Le bloc OUT_f est la sortie du signal non linéaire. + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sinks/OUT_f.sci + + + + + + Voir aussi + + + IN_f + + + SUPER_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Signalprocessing_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Signalprocessing_pal/CHAPTER new file mode 100755 index 000000000..dc4e9ae32 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Signalprocessing_pal/CHAPTER @@ -0,0 +1 @@ +title = Signal processing palette diff --git a/modules/xcos/help/fr_FR/palettes/Signalrouting_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Signalrouting_pal/CHAPTER new file mode 100755 index 000000000..56ef90d95 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Signalrouting_pal/CHAPTER @@ -0,0 +1 @@ +title = Signal routing palette diff --git a/modules/xcos/help/fr_FR/palettes/Sinks_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Sinks_pal/CHAPTER new file mode 100755 index 000000000..26a13258c --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sinks_pal/CHAPTER @@ -0,0 +1 @@ +title = Sinks palette diff --git a/modules/xcos/help/fr_FR/palettes/Sinks_pal/WFILE_f.xml b/modules/xcos/help/fr_FR/palettes/Sinks_pal/WFILE_f.xml new file mode 100755 index 000000000..0142bc046 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sinks_pal/WFILE_f.xml @@ -0,0 +1,382 @@ + + + + + WFILE_f + + Ecriture dans un fichier + + + + Aperçu + + + + + + + + + + + Contenu + + + + + Ecriture dans un fichier + + + + + + + + Palette + + + + + + Description + + + + + + Types de données + + + + + + Boîte de dialogue + + + + + + Propriétés par défaut + + + + + + Exemple + + + + + + Fonction d'interfaçage + + + + + + Fonction de calcul + + + + + + Voir aussi + + + + + + + + + Palette + + + + + Palette Sinks + + + + + + + Description + + Ce bloc est obsolète, utilisez WRITEC_f à la place. + + + Ce bloc permet à l'utilisateur de sauver des données dans un fichier dont le nom est défini avec le paramètre Output file name, en mode texte formatté ou binaire. + + + Le fichier est une séquence d'enregistrements. Chaque enregistrement a une longueur Output Size + 1 et la structure ci-dessous: + + + + + + + + + + + + où le premier champ est la date de l'événement reçu sur l'entrée d'activationdu bloc pendant la simulation et les autres champs les données de l'entrée régulière. Chaque appel du bloc + écrit un enregistrement dans le fichier. + + + Le paramètre Output Format donne le format de l'enregistrement. + + + + + Pour un fichier binaire, ce paramètre est laissé vide. + + + + + Pour un fichier texte, ce paramètre est une chaîne de format (syntaxe Fortran) entre parenthèses. + + + + + + + Types de données + + + + + Entrée : un scalaire ou un vecteur colonne de longueur Input Size. + + + + + + + Boîte de dialogue + + + + + + + + + + + + + + + Input Size + + + Un scalaire, la taille de l'entrée. + + Propriétés : Type 'vec' de taille 1. + + + + + Output File Name + + + Une chaîne de caractères définissant le chemin et le nom du fichier à écrire. Le bloc supporte l'expansion du nom de fichier et vous pouvez utiliser les variables + d'environnement comme HOME dans le chemin, par exemple "HOME/my_datas/foo.datas". Sans précision de chemin, le fichier est écrit dans + le répertoire défini par la variable PWD. + + Le chemin du répertoire doit exister, sinon vous obtiendrez un message d'erreur. + Propriétés : Type 'str' de taille 1. + + + + Output Format + + + Un chaîne de caractères définissant le format Fortran à utiliser ou rien pour une écriture binaire non formattée. S'il est donné, le format doit commencer par une + parenthèse gauche et se terminer par une parenthèse droite. Example: (10e3) + + Propriétés : Type 'str' de taille 1. + + + + Buffer Size + + + Pour améliorer l'efficacité, il est possible de mettre en tampon mémoire les données d'entrée. Les écritures sur le fichier ne sont alors effectuées + qu'après remplissage du tampon et à la fin de la simulation. + par le bloc. + + Propriétés : Type 'vec' de taille 1. + + + + + + Propriétés par défaut + + + + + always active: non + + + + + + direct-feedthrough: oui + + + + + + zero-crossing: non + + + + + + mode: non + + + + + + regular inputs: + + + + - port 1 : size [1,1] / type 1 + + + + + + number/sizes of activation inputs: 1 + + + + + + number/sizes of activation outputs: 0 + + + + + + continuous-time state: non + + + + + + discrete-time state: oui + + + + + + object discrete-time state: non + + + + + + name of computational function: + writef + + + + + + + Exemple + + Dans cet exemple le bloc est utilisé pour enregistrer la sortie et son inverse du générateur d'onde sinusoïdale. Un multiplexeur forme le vecteur d'entrée du bloc WFILE_f qui + enregistre les données dans le fichier "TMPDIR/wfile_f.text". Ensuite, vous pouvez lire ces données avec le bloc RFILE_f. + + Ouvrir cet exemple dans Xcos + + . + + + + + + + Après la simulation de cet exemple, vous pouvez voir le contenu du fichier dans Scinotes avec la commande suivante : + + + + + + + Fonction d'interfaçage + + + + + SCI/modules/scicos_blocks/macros/Sinks/WFILE_f.sci + + + + + + + Fonction de calcul + + + + SCI/modules/scicos_blocks/src/fortran/writef.f (Type 0) + + + + + + Voir aussi + + + + READC_f + + + + + RFILE_f + + + + + WRITEC_f + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Sinks_pal/WRITEC_f.xml b/modules/xcos/help/fr_FR/palettes/Sinks_pal/WRITEC_f.xml new file mode 100755 index 000000000..21f41e8b4 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sinks_pal/WRITEC_f.xml @@ -0,0 +1,347 @@ + + + + + WRITEC_f + Ecriture dans une fichier binaire C + + + + Aperçu + + + + + + + + + + Contenu + + + + Ecriture dans une fichier binaire C + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Exemple + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + + Palette + + + + Palette Sinks + + + + + + + Description + + + Ce bloc permet à l'utilisateur d'écrire des données dans un fichier binaire C dont le nom est défini par la chaîne Output File Name. Le fichier est une séquence + d'enregistrements. Chaque enregistrement a une longueur fixée par le paramètre Input Size et la structure ci-dessous : + + + + + + + + + + où les entrées du bloc sont numérotées de haut en bas. + + Les champs de l'enregistrement doivent contenir des données de même type défini par le paramètre Output Format. + + + Chaque événement sur l'entrée d'activation du bloc écrit un enregistrement dans le fichier. Notez que contrairement à WFILE_f, les dates d'événement + ne sont pas enregistrées. + + + + + Types de données + + + + Entrée : un scalaire ou un vecteur colonne de longueur Input Size. + + + + + + + Boîte de dialogue + + + + + + + + + + + + Input Size + + Un scalaire, la longueur du vecteur d'entrée. + Propriétés : Type 'vec' de taille 1 + + + + Output File Name + + + Une chaîne de caractères définissant le chemin du fichier de sortie. Le bloc supporte l'expansion de nom de fichier et vous pouvez + utiliser les variables d'environnement telles que HOME dans le chemin, par exemple + "HOME/mes_donnees/". Sans spécification de chemin, le fichier est écrit dans le répertoire défini par la variable PWD. + + Le chemin du répertoire doit exister, sinon vous obtiendrez un message d'erreur. + Propriétés : Type 'str' de taille 1 + + + + Output Format + + + Une chaîne de caractères définissant le format à utiliser. Les chaînes suivantes "l", "i", "s", "ul", "ui", "us", "d", "f", "c", "uc" + sont respectivement utilisées pour écrire des données de type int32, int16, int8, unit32, uint16, uint8, double, + float, char and uchar. + + + Vous devez utiliser le même format quand vous lisez le fichier avec READC_f. + + Propriétés : Type 'str' de taille 1 + + + + Buffer Size + + + Pour une meilleure efficacité, il est possible de mettre en tampon mémoire les données d'entrée. Les écritures de données sur le fichier ne sont effectuées que si + le tampon est plein ou à la fin de la simulation. + + Propriétés : Type 'vec' de taille 1 + + + + Swap Mode (0:No, 1:Yes) + + Endian IEEE format + + + + 0 : l'échange automatique est ignoré. + + + + + 1 : le fichier est supposé être codé en format "little endian IEEE". L'octet de poids le plus fort et l'octet de poids le plus faible + sont échangés si nécessaire pour être conforme avec le format IEEE du processeur. + + + + Propriétés : Type 'vec' de taille 1 + + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: oui + + + + + zero-crossing: non + + + + + mode: non + + + + + regular inputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + writec + + + + + + + Exemple + + Dans cet exemple le bloc est utilisé pour enregistrer la sortie du générateur sinusoïdal. Pour enregistrer en même temps + les dates des événements, nous utilisons un bloc TIME_f et un multiplexeur pour former le vecteur d'entrée du bloc WRITEC_f + qui enregistre les données dans le fichier "TMPDIR/writec_f.datas". Vous pouvez ensuite lire les ces + données avec le bloc READC_f. + + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sinks/WRITEC_f.sci + + + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/c/writec.c (Type 2) + + + + + + Voir aussi + + + READC_f + + + RFILE_f + + + WFILE_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Sources_pal/AA_Sources_pal.xml b/modules/xcos/help/fr_FR/palettes/Sources_pal/AA_Sources_pal.xml new file mode 100755 index 000000000..2fa6a55d2 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sources_pal/AA_Sources_pal.xml @@ -0,0 +1,267 @@ + + + + + Sources_pal + Palette Sources + + + Aperçu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + xcos + + + + + + Description + + La plupart des blocs de la palette Source peuvent être vus comme des générateurs de données. + Cette palette contient aussi des blocs pour lire des données à partir de fichiers et des ports + d'entrée à utiliser dans les Super blocs. + + Les blocs de cette palette n'ont pas de port d'entrée régulier. + + + Blocs + + + + CLKINV_f - Port d'entrée d'activation + + + + + CLOCK_c - Horloge d'activation + + + + + CONST_m - Constante + + + + + Counter - Compteur + + + + + CURV_f - Générateur de signal (défini par une courbe) + + + + + FROMWSB - Données de l'espace de travail Scilab vers Xcos + + + + + GENSIN_f - Générateur sinusoïdal + + + + + GENSQR_f - Générateur d'onde carrée + + + + + IN_f - Port d'entrée régulier + + + + + INIMPL_f - Port d'entrée implicite + + + + + Modulo_Count - Compteur Modulo + + + + + RAMP - Fonction Rampe + + + + + RAND_m - Générateur aléatoire + + + + + READAU_f - Lit un fichier son + + + + + READC_f - Lire des données binaires + + + + + RFILE_f - Lire à partir d'un fichier + + + + + SampleCLK - Horloge d'échantillonage + + + + + SAWTOOTH_f - Générateur de dents de scie + + + + + Sigbuilder - Créateur/Générateur de signal + + + + + STEP_FUNCTION - Fonction échelon + + + + + TIME_f - Temps de simulation + + + + + TKSCALE - Constante réglable par un composant graphique + + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Sources_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Sources_pal/CHAPTER new file mode 100755 index 000000000..a6f62a882 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sources_pal/CHAPTER @@ -0,0 +1 @@ +title = Palette Sources diff --git a/modules/xcos/help/fr_FR/palettes/Sources_pal/RFILE_f.xml b/modules/xcos/help/fr_FR/palettes/Sources_pal/RFILE_f.xml new file mode 100755 index 000000000..c7dd630a2 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Sources_pal/RFILE_f.xml @@ -0,0 +1,364 @@ + + + + + RFILE_f + Lecture dans un fichier + + + Aperçu + + + + + + + + + + Contenu + + + + Lecture dans un fichier + + + + + + + Palette + + + + + Description + + + + + Types de données + + + + + Boîte de dialogue + + + + + Propriétés par défaut + + + + + Example + + + + + Fonction d'interfaçage + + + + + Fonction de calcul + + + + + Voir aussi + + + + + + + + Palette + + + + Sources + + + + + + Description + + Ce bloc permet à l'utilisateur de lire des données dans un fichier avec le nom défini par la chaîne Input File Name en mode texte formatté ou en mode binaire. + + + Le fichier est une séquence d'enregistrements. Chaque enregistrement a une longueur Record Size et la structure ci-dessous : + + + + + + + + + + + Le paramètre Time record Selection permet à l'utilisateur de sélectionner un champ de l'enregistrement qui représente des événements + temporels. Quand ce paramètre est fourni, une sortie d'activation est ajoutée au block qui renvoie ces événements à l'utilisateur. Vous pouvez effectuer un bouclage + de la sortie d'activation sur l'entrée d'événement du bloc pour lire les enregistrements en séquence jusqu'à la fin du fichier comme dans l'exemple ci-dessous. + + + Le paramètre Output record selection est utilisé pour sélectionner les champs de l'enregistrement qui sont inclus dans la sortie régulière. + + + Le paramètre Output Format donne le format d'un enregistrement. + + + + Pour un fichier binaire, ce paramètre est vide. + + + Pour un fichier texte, ce paramètre est une chaîne de format (syntaxe Fortran) entre parenthèses. + + + Chaque appel au bloc avance d'un enregistrement dans le fichier. + + + Types de données + + + + Sortie: un scalaire ou un vecteur colonne de données de type double. La longueur du vecteur est égale à la longueur du vecteur + Outputs Record Selection. + + + + + + Boîte de dialogue + + + + + + + + + + + + + Time Record Selection + + Une matrice vide ou un entier positif. + + Si un entier + + i + + est donné, le + + iième + + + élément de l'enregistrement lu + est supposée être la date de l'événement de sortie. + + Si c'est une matrice vide, il n'existe aucun évènement de sortie. + Propriétés : Type 'vec' de taille -1. + + + + Outputs Record Selection + + + Un vecteur d'entiers positifs + + [ki,...,kn] + + + le + + kiième + + + élément + de l'enregistrement lu donne la valeur de la + + iième + + + sortie. + + Propriétés : Type 'vec' de taille -1. + + + + Input File Name + + + Une chaîne de caractères définissant le chemin du fichier. Le bloc supporte l'expansion de nom de fichier et vous pouvez utiliser les variables d'environment + comme PWD dans le chemin, par exemple "PWD/my_data/". Sans spécificateur de chemin, le fichier est lu dans le + répertoire défini par la variable PWD. + + Le fichier doit exister sinon vous obtiendrez un message d'erreur. + Propriétés : Type 'str' de taille 1. + + + + Input Format + + + Une chaîne de caractères définissant le format Fortran à utiliser ou rien pour une lecture non formatée (binaire). + S'il est donné, le format doit commencer par une parenthèse gauche et se terminer par une parenthèse droite.Par exemple : + + (10e3) + + + Propriétés : Type 'str' de taille 1. + + + + Buffer Size + + + Pour une meilleure efficacité, il est possible de mettre les données en mémoire tampon. La lecture des échantillons sur le périphérique remplit la mémoire tampon pour qu'il + y ait toujours des données disponibles en mémoire pour le bloc. + + Propriétés : Type 'vec' de taille 1. + + + + + Propriétés par défaut + + + + always active: non + + + + + direct-feedthrough: non + + + + + zero-crossing: non + + + + + mode: non + + + + + regular outputs: + + + - port 1 : size [1,1] / type 1 + + + + + number/sizes of activation inputs: 1 + + + + + number/sizes of activation outputs: 0 + + + + + continuous-time state: non + + + + + discrete-time state: oui + + + + + object discrete-time state: non + + + + + name of computational function: + readf + + + + + + Exemple + + Cet exemple lit le fichier : "SCI/modules/xcos/examples/sources_pal/fr_FR/rfile_f.txt" qui contient un jeu de données généré par l'exemple de la page + d'aide de WFILE_f. + + + Il utilise sa sortie d'activation comme entrée de CSCOPE. Dans le fichier, le premier champ de l'enregistrement est le temps, les deux autres sont des données régulières. + Le bouclage de la sortie d'activation sur l'entrée d'activation assure la lecture séquentielle du fichier. + + + + + + + + + + + + + Fonction d'interfaçage + + + + SCI/modules/scicos_blocks/macros/Sources/RFILE_f.sci + + + + + + Fonction de calcul + + + SCI/modules/scicos_blocks/src/fortran/readf.f (Type 0) + + + + + Voir aussi + + + READC_f + + + WRITEC_f + + + WFILE_f + + + + diff --git a/modules/xcos/help/fr_FR/palettes/Thermohydraulics_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Thermohydraulics_pal/CHAPTER new file mode 100755 index 000000000..64a6f9b31 --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Thermohydraulics_pal/CHAPTER @@ -0,0 +1 @@ +title = Thermohydraulics palette diff --git a/modules/xcos/help/fr_FR/palettes/Userdefinedfunctions_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Userdefinedfunctions_pal/CHAPTER new file mode 100755 index 000000000..6c27243ec --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Userdefinedfunctions_pal/CHAPTER @@ -0,0 +1 @@ +title = User defined functions palette diff --git a/modules/xcos/help/fr_FR/palettes/Zerocrossingdetection_pal/CHAPTER b/modules/xcos/help/fr_FR/palettes/Zerocrossingdetection_pal/CHAPTER new file mode 100755 index 000000000..a40c515aa --- /dev/null +++ b/modules/xcos/help/fr_FR/palettes/Zerocrossingdetection_pal/CHAPTER @@ -0,0 +1 @@ +title = Zero crossing detection palette diff --git a/modules/xcos/help/fr_FR/programming_scicos_blocks/CHAPTER b/modules/xcos/help/fr_FR/programming_scicos_blocks/CHAPTER new file mode 100755 index 000000000..e827df7b4 --- /dev/null +++ b/modules/xcos/help/fr_FR/programming_scicos_blocks/CHAPTER @@ -0,0 +1 @@ +title = Programmation Xcos Blocks diff --git a/modules/xcos/help/fr_FR/programming_scicos_blocks/c_computational_functions/CHAPTER b/modules/xcos/help/fr_FR/programming_scicos_blocks/c_computational_functions/CHAPTER new file mode 100755 index 000000000..07ad43342 --- /dev/null +++ b/modules/xcos/help/fr_FR/programming_scicos_blocks/c_computational_functions/CHAPTER @@ -0,0 +1 @@ +title = C Computational Functions diff --git a/modules/xcos/help/fr_FR/programming_scicos_blocks/scilab_computational_functions/CHAPTER b/modules/xcos/help/fr_FR/programming_scicos_blocks/scilab_computational_functions/CHAPTER new file mode 100755 index 000000000..52798d7f7 --- /dev/null +++ b/modules/xcos/help/fr_FR/programming_scicos_blocks/scilab_computational_functions/CHAPTER @@ -0,0 +1 @@ +title = Scilab Computational Functions diff --git a/modules/xcos/help/fr_FR/programming_scicos_blocks/utilities_functions/CHAPTER b/modules/xcos/help/fr_FR/programming_scicos_blocks/utilities_functions/CHAPTER new file mode 100755 index 000000000..53c07ae35 --- /dev/null +++ b/modules/xcos/help/fr_FR/programming_scicos_blocks/utilities_functions/CHAPTER @@ -0,0 +1 @@ +title = Utilities Functions diff --git a/modules/xcos/help/fr_FR/scilab_data_structures/CHAPTER b/modules/xcos/help/fr_FR/scilab_data_structures/CHAPTER new file mode 100755 index 000000000..bea4d0676 --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_data_structures/CHAPTER @@ -0,0 +1 @@ +title = Structure de données Scilab/Xcos diff --git a/modules/xcos/help/fr_FR/scilab_data_structures/blocks/CHAPTER b/modules/xcos/help/fr_FR/scilab_data_structures/blocks/CHAPTER new file mode 100755 index 000000000..d1f089ba9 --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_data_structures/blocks/CHAPTER @@ -0,0 +1 @@ +title = Blocks diff --git a/modules/xcos/help/fr_FR/scilab_data_structures/compilation_simulation/CHAPTER b/modules/xcos/help/fr_FR/scilab_data_structures/compilation_simulation/CHAPTER new file mode 100755 index 000000000..ffdb52716 --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_data_structures/compilation_simulation/CHAPTER @@ -0,0 +1 @@ +title = Compilation/Simulation diff --git a/modules/xcos/help/fr_FR/scilab_data_structures/diagram/CHAPTER b/modules/xcos/help/fr_FR/scilab_data_structures/diagram/CHAPTER new file mode 100755 index 000000000..87a5ba36c --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_data_structures/diagram/CHAPTER @@ -0,0 +1 @@ +title = Diagram diff --git a/modules/xcos/help/fr_FR/scilab_data_structures/links/CHAPTER b/modules/xcos/help/fr_FR/scilab_data_structures/links/CHAPTER new file mode 100755 index 000000000..209ea6fbb --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_data_structures/links/CHAPTER @@ -0,0 +1 @@ +title = Links diff --git a/modules/xcos/help/fr_FR/scilab_utilities_functions/CHAPTER b/modules/xcos/help/fr_FR/scilab_utilities_functions/CHAPTER new file mode 100755 index 000000000..fb9027a27 --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_utilities_functions/CHAPTER @@ -0,0 +1 @@ +title = Fonctions utilitaires Scilab diff --git a/modules/xcos/help/fr_FR/scilab_utilities_functions/MODELICA_USER_LIBS.xml b/modules/xcos/help/fr_FR/scilab_utilities_functions/MODELICA_USER_LIBS.xml new file mode 100755 index 000000000..b018c0358 --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_utilities_functions/MODELICA_USER_LIBS.xml @@ -0,0 +1,69 @@ + + + + + %MODELICA_USER_LIBS + + Spécifier l'emplacement des librairies Modelica + + + + Description + + Cette variable sert à spécifier où se trouvent les librairies Modelica. + + + Si l'utilisateur souhaite définir ses propres blocs Modelica, les fichiers + décrivant ces blocs doivent être indiqués. La variable %MODELICA_USER_LIBS doit + être déclarée globale avant de lancer Xcos. + + + + Example + + // Obtenir le chemin Modelica actuel + [modelica_path, modelica_directory] = getModelicaPath() + + // Pour définir le chemin du dossier contenant les librairies Modelica + // Elle doit être globale pour être appelée depuis les toolbox Atoms + global %MODELICA_USER_LIBS + %MODELICA_USER_LIBS = SCI + "/modules/xcos/modelica_library"; + + // Lancer Xcos + xcos(); + // Charger le diagamme aux blocs Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + // Pour ajouter un nouveau dossier Modelica + %MODELICA_USER_LIBS = [%MODELICA_USER_LIBS , SCI + "/modules/xcos/my_modelica_blocks/Electrical_network"]; + + // Lancer Xcos + xcos(); + // Charger le diagamme aux blocs Modelica blocks + + [modelica_path, modelica_directory] = getModelicaPath() + + + + + Voir aussi + + + + getModelicaPath: obtenir le chemin du dossier Modelica requis par les diargamme Xcos contenant des blocs Modelica + + + + + diff --git a/modules/xcos/help/fr_FR/scilab_utilities_functions/block_parameter_error.xml b/modules/xcos/help/fr_FR/scilab_utilities_functions/block_parameter_error.xml new file mode 100755 index 000000000..820d7e07d --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_utilities_functions/block_parameter_error.xml @@ -0,0 +1,131 @@ + + + + + block_parameter_error + + Affiche une boîte d'erreur de saisie de paramètre pour un bloc Xcos. + + + + Séquence d'appel + + block_parameter_error(inform, expected) + + + + Paramètres + + + inform: + + une chaîne, le type d'erreur + + + + expected: + + une chaîne, la valeur ou la gamme de valeurs attendues + + + + + + Description + + Le but de cette fonction est de donner à l'utilisateur une information précise sur son erreur + lorsqu'il entre un paramètre de bloc. L'information utilisateur est affichée sur deux lignes + données respectivement par les paramètres : + + + + + inform: elle est réservée à l'information de + l'utilisateur sur son erreur. La meilleure façon de le faire est de rappeler le + nom du paramètre et la valeur erronée fournie par l'utilisateur. + + + + + expected: une information positive pour + guider l'utilisateur en vue de la correction de l'erreur. Par exemple, si + le paramètre est un entier, le message peut être "Doit être entier", pour + une gamme de valeurs on peut utiliser un message comme celui-ci: + + + + + + + + Exemples + + L'exemple ci-dessous est une cas d'utilisation simple de la fonction. L'utilisateur entre + une valeur dans la boîte de dialogue de paramètre. Si la valeur n'est pas valide, l'exemple + affiche cette boîte d'erreur : + + + + + + + + + 8 then + block_parameter_error( .. + msprintf("Valeur erronée pour le paramètre ''Type de données'' : %d.", Datatype), .. + msprintf("Doit être dans l''intervalle %s.", "[3, 8]") .. + ); + ok = %f; + + else // Le paramètre est valide continuer le travail + ok = %t; + print(%io(2), "Le paramètre ''Type de données'' est valide"); + end + end + ]]> + + + See also + + + + x_mdialog + + + + + diff --git a/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosAddToolsMenu.xml b/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosAddToolsMenu.xml new file mode 100755 index 000000000..2af926aea --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosAddToolsMenu.xml @@ -0,0 +1,89 @@ + + + + + xcosAddToolsMenu + Ajoute un menu au menu "Outils" d'Xcos. + + + Séquence d'appel + xcosAddToolsMenu(label, command) + + + Module + + + + xcos + + + + + + Description + Ajoute un menu à Xcos qui exécute une commande scilab. La commande scilab peut utiliser deux variables définies dans le contexte scilab : + + + + blk : Le bloc sélectionné. La variable n'existe pas si rien n'est sélectionné. La variable à le type scicos_block. + + + + + scs_m : Le diagramme complet. La variable à le type scicos_diagram. + + + + Cette fonction a été introduite en Scilab 5.4.0. + + + + + + Voir aussi + + + + xcos - Editeur de schéma-bloc et IHM pour le simulateur hybride + + + + + scicos_block - Block type. + + + + + scicos_diagram - Diagram type. + + + + + + Authors + + Clément David - Scilab Enterprises + + + diff --git a/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosUpdateBlock.xml b/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosUpdateBlock.xml new file mode 100755 index 000000000..5d6978b4d --- /dev/null +++ b/modules/xcos/help/fr_FR/scilab_utilities_functions/xcosUpdateBlock.xml @@ -0,0 +1,79 @@ + + + + + xcosUpdateBlock + Met à jour un bloc. + + + Séquence d'appel + xcosUpdateBlock(blk) + + + Module + + + + xcos + + + + + + Description + Met à jour un bloc dans un diagram ouvert + + + + blk : Le bloc a mettre à jour. La variable à le type scicos_block. + + + + Cette fonction a été introduite en Scilab 5.4.0. + + + + + + Voir aussi + + + + xcosAddToolsMenu - Ajoute un menu au menu "Outils" d'Xcos + + + + + scicos_block - Block type. + + + + + scicos_diagram - Diagram type. + + + + + + Authors + + Clément David - Scilab Enterprises + + + diff --git a/modules/xcos/help/fr_FR/solvers/0-LSodar.xml b/modules/xcos/help/fr_FR/solvers/0-LSodar.xml new file mode 100755 index 000000000..a5453a594 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/0-LSodar.xml @@ -0,0 +1,217 @@ + + + + + LSodar + + LSodar (abréviation de "Livermore Solver for Ordinary Differential equations, with Automatic method switching for stiff and nonstiff problems, and with Root-finding") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinaires (EDOs). + + + + Description + + Appelé par xcos, LSodar (abréviation de "Livermore Solver for Ordinary Differential equations, with Automatic method switching for stiff and nonstiff problems, and with Root-finding") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinaires (EDOs) de la forme : + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + LSodar est similaire à CVode sur de nombreux points: + + + Son pas de temps est variable, + + + Il est capable d'utiliser les méthodes d'intégration BDF et Adams, + + + BDF et Adams étant des méthodes implicites stables, LSodar convient aussi bien à des problèmes raides que non-raides, + + + Ils recherchent tous deux des racines sur l'intervalle. + + + + + La principale différence est que LSodar est automatisé, et choisit lui-même entre BDF et Adams, en vérifiant la raideur du problème à chaque pas. + + + Si le pas est considéré raide, alors BDF (avec ordre max = 5) est utilisé et la méthode de Newton modifiée 'Chord' iteration est sélectionnée. + + + Sinon, le programme utilise l'intégration d'Adams (avec ordre max = 12) et des itérations fonctionnelles (Functional). + + + La détection de raideur est effectuée par tentatives de pas et comparaison avec chaque méthode. + + + D'abord, si nous sommes actuellement en mode Adams et l'ordre est supérieur à 5, alors on considère le problème comme non-raide et on poursuit avec Adams. + + + Les vingt premiers pas utilisent la méthode Adams / Functional. + Ensuite, LSodar calcule le pas idéal avec chaque méthode. Si le gain est d'au moins ratio = 5, alors la méthode actuelle est changée (Adams / Functional pour BDF / Chord Newton ou vice-versa). + + + Après chaque changement, LSodar passe vingt étapes, puis recommence à calculer les pas à chaque étape. + + + Une telle stratégie implique évidemment un ajout de calculs si la raideur du système est connue, mais est très efficace sur des problèmes qui requièrent une précision différenciée. Par exemple, les problèmes sensibles aux discontinuités. + + + Concernant la précision, les deux méthodes d'intégration/itération étant proches de celles de CVode, les résultats sont très similaires. + + + + Exemples + + + + + + + + + + + + Le bloc intégrale retourne son état continu, on peut l'évaluer avec LSodar en lançant l'exemple : + + + + + + La console Scilab affiche : + + + + Maintenant, dans le script suivant, on compare la différence de temps entre LSodar et CVode en lançant l'exemple avec les cinq solveurs tour à tour : + + Ouverture du script + + + + + + + Ces résultats montrent que pour un problème non-raide, à même précision demandée, LSodar est significativement plus rapide. D'autres tests ont montré la proximité des résultats. En effet, on trouve que l'écart entre les solutions de LSodar et CVode est de l'ordre de la plus haute tolérance ( + + ylsodar - ycvode + + ≈ max(reltol, abstol) ). + + + Les solveurs d'EDO à pas variable ne sont pas appropriés pour des applications temps réel déterministes car le surplus de calcul au passage d'un pas de temps varie au cours de l'application. + + + + Voir Aussi + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + ACM SIGNUM Newsletter, Volume 15, Parution 4, Décembre 1980, Pages 10-11 LSode - LSodi + + + Documentation Sundials + + + + Histoire + + + 5.4.1 + LSodar ajouté + + + + diff --git a/modules/xcos/help/fr_FR/solvers/1-CVode.xml b/modules/xcos/help/fr_FR/solvers/1-CVode.xml new file mode 100755 index 000000000..ddffbbc9b --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/1-CVode.xml @@ -0,0 +1,299 @@ + + + + + CVode + + CVode (abréviation de "C-language Variable-coefficients ODE solver") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinarires (EDOs). Il utilise BDF ou Adams comme méthode d'intégration, et des itérations fonctionnelles ou de Newton. + + + + Description + + Appelé par xcos, CVode (abréviation de "C-language Variable-coefficients ODE solver") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + Partant de + + y0 + + , CVode approxime + + yn+1 + + grâce à la formule : + + + + \begin{eqnarray} + \sum_{i=0}^{K_1} \alpha_{n,i} y_{n-i} + h_n\sum_{i=0}^{K_2} \beta_{n,i} \dot{y}_{n-i} = 0,\hspace{10 mm} (1) + \end{eqnarray} + + + avec + + yn + + l'approximation de + + y(tn) + + , et + + hn + + = + + tn - tn-1 + + la taille du pas de temps. + + + + Ces méthodes implicites sont caractérisées par leur order q, qui indique le nombre de points intermédiaires requis pour le calcul de + + yn+1 + + . + + + C'est ici qu'intervient la différence entre BDF et Adams ("Backward Differentiation Formula" et "Adams-Moulton formula"): + + + + Si le problème est raide, il est préférable d'utiliser BDF : + + + + + q, l'ordre de la méthode, est initialisé entre 1 et 5 (automatique), + + + K1 = q et K2 = 0. + + + + Dans le cas non-raide, on préferera Adams : + + + + q est initialisé entre 1 et 12 (automatique), + + + K1 = 1 et K2 = q. + + + + Les coefficients sont fixes, déterminés uniformément par le type de méthode, son ordre, les pas de temps et la normalisation + + αn, 0 = -1 + + . + + + Quelque soit le choix et à chaque pas, injecter cette intégration dans (1) donne le système non-linéaire: + + + + G(y_n)\equiv y_n-h_n\beta_{n,0}f(t_n,y_n)-a_n=0, \hspace{2 mm} où \hspace{2 mm} a_n\equiv \sum_{i>0} (\alpha_{n,i} y_{n-i} + h_n\beta_{n,i}\dot{y}_{n-i}) + + + + Ce système peut être résolu par des itérations fonctionnelles ou de Newton, décrites ci-après. + + + Dans les deux cas suivants, le + + yn(0) + + initial "prédit" est calculé explicitement grâce aux valeurs passées, en ajoutant des dérivées. + + + + + Fonctionnelles : cette méthode n'implique que des évaluations de f, elle calcule + + yn(0) + + simplement en itérant la formule : + + + y_{n(m+1)} = h_n β_{n,0} f(t_n,y_{n(m)}) + a_n + + + où \hspace{2 mm} a_n\equiv \sum_{i>0} (\alpha_{n,i} y_{n-i} + h_n\beta_{n,i}\dot{y}_{n-i}) + + + + + + Newton : ici, nous utilisons un solveur direct dense sur le système linéaire : + + + M[y_{n(m+1)}-y_{n(m)}]=-G(y_{n(m)}), \hspace{4 mm} M \approx I-\gamma J, \hspace{2 mm} J=\frac{\partial f}{\partial y}, \hspace{2 mm} et \hspace{2 mm} \gamma = h_n\beta_{n,0} + + + + + + Dans les deux cas, CVode se sert des valeurs passées pour contrôler l'erreur locale + + yn(m) - yn(0) + + et recalcule + + hn + + si l'erreur n'est pas satisfaisante. + + + + Les choix recommandés sont BDF / Newton pour les problèmes raides et Adams / Functional pour les non-raides. + + + + La fonction est appelée entre les activations, parce-qu'une activation est susceptible de modifier le système. + + + Suivant la criticalité de l'événement (son effet sur le problème continu), soit le solveur poursuit avec temps initial et final différents comme si rien ne s'était passé, soit, si le système a été modifié, il faut "réinitialiser à froid" le solveur et le relancer. + + + En moyenne, CVode accepte des tolérances jusqu'à 10-16. Au-delà, il retourne l'erreur Trop de précision demandée. + + + + Exemples + + + + + + + + + + + + Le bloc intégrale retourne son état continu, on peut l'évaluer avec BDF / Newton en lançant l'exemple : + + + + + + La console Scilab affiche : + + + + Maintenant, dans le script suivant, on compare la différence de temps entre les méthodes en lançant l'exemple avec les quatre solveurs tour à tour : + + Ouveture du script + + + + Résultats : + + + + Les résultats montrent que pour un problème continu non-raide simple, Adams / Functional est le plus rapide. + + + + Voir Aussi + + + LSodar + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicit 4(5) + + + IDA + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Documentation Sundials + + + diff --git a/modules/xcos/help/fr_FR/solvers/2-Runge-Kutta.xml b/modules/xcos/help/fr_FR/solvers/2-Runge-Kutta.xml new file mode 100755 index 000000000..1f987fc58 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/2-Runge-Kutta.xml @@ -0,0 +1,268 @@ + + + + + Runge-Kutta 4(5) + + Runge-Kutta est un solveur numérique fournissant une méthode explicite efficace pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinarires (EDOs). + + + + Description + + Appelé par xcos, Runge-Kutta est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode et IDA utilisent un pas variable dans l'intégration. + + + Le défaut de cela est l'imprévisibilité du temps de calcul. Avec Runge-Kutta, on ne s'adapte pas à la complexité du problème, mais on garantit un temps de calcul stable. + + + Cette méthode est explicite, donc non concernée par les itérations fonctionnelles ou de Newton, et est déconseillée pour les problèmes raides. + + + C'est une amélioration de la méthode d'Euler, qui approxime + + yn+1 + + en tronquant le développement de Taylor. + + + Par convention, pour utiliser des pas fixes, le programme commence par calculer un pas h qui approche le paramère de simulation max step size. + + + Une différence notable de Runge-Kutta par rapport à Sundials est qu'il calcule jusqu'à la dérivée quatrième de y, alors que les autres n'utilisent que des combinaisons linéaires de y et y'. + + + Ici, la valeur suivante est déterminée par la valeur actuelle + + yn + + plus la moyenne pondérée de quatre incréments, où chaque incrément est le produit du pas, h, et une estimation de la pente spécifiée par la fonction f(t,y) : + + + k1 est l'incrément basé sur la pente au début de l'intervalle, utilisant + + yn + + (méthode d'Euler), + + + k2 est l'incrément basé sur la pente au milieu de l'intervalle, utilisant + + yn + h*k1/2 + + , + + + k3 est à nouveau l'incrément basé sur la pente au milieu de l'intervalle, utilisant + + yn + h*k2/2 + + + + k4 est l'incrément basé sur la pente à la fin de l'intervalle, utilisant + + yn + h*k3 + + + + + + On peut voir qu'avec les ki, on progresse dans les dérivées de + + yn + + . Donc à k4, on approxime + + y(4)n + + , faisant donc une erreur en + + O(h5) + + . + + + L'erreur totale est donc + + nombre de pas * O(h5) + + . Et puisque par définition nombre de pas = taille de l'intervalle / h, l'erreur totale est en + + O(h4) + + . + + + Cette analyse d'erreur a baptisé la méthode Runge-Kutta 4(5), + + O(h5) + + par pas, + + O(h4) + + au total. + + + Bien que le solveur fonctionne bien pour max step size allant juqu'à + + 10-3 + + , des erreurs d'arrondi surviennent parfois quand l'on approche + 4*10-4 + + . En effet, le scindage de l'intervalle ne peut pas être effectué correctement et l'on obtient des résultats imprévisibles. + + + + Exemples + + + + + + + + + + + + Le bloc intégrale retourne son état continu, on peut l'évaluer avec Runge-Kutta en lançant l'exemple : + + + + + + La console Scilab affiche : + + + + Maintenant, dans le script suivant, on compare la différence de temps entre Runge-Kutta et CVode en lançant l'exemple avec les cinq solveurs tour à tour : + + Ouverture du script + + + + + + + Ces résultats montrent que pour un problème non-raide, pour à peu près la même précision demandée et en forçant la même taille de pas, Runge-Kutta est plus rapide. + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Documentation Sundials + + + + Histoire + + + 5.4.1 + Runge-Kutta 4(5) ajouté + + + + diff --git a/modules/xcos/help/fr_FR/solvers/3-Dormand-Prince.xml b/modules/xcos/help/fr_FR/solvers/3-Dormand-Prince.xml new file mode 100755 index 000000000..935ee11a8 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/3-Dormand-Prince.xml @@ -0,0 +1,255 @@ + + + + + Dormand-Prince 4(5) + + Dormand-Prince est un solveur numérique fournissant une méthode explicite efficace pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinarires (EDOs). + + + + Description + + Appelé par xcos, Dormand-Prince est un solveur numérique fournissant une méthode explicite efficace pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode et IDA utilisent un pas variable dans l'intégration. + + + Le défaut de cela est l'imprévisibilité du temps de calcul. Avec Runge-Kutta, on ne s'adapte pas à la complexité du problème, mais on garantit un temps de calcul stable. + + + Cette méthode est explicite, donc non concernée par les itérations fonctionnelles ou de Newton, et est déconseillée pour les problèmes raides. + + + C'est une amélioration de la méthode d'Euler, qui approxime + + yn+1 + + en tronquant le développement de Taylor. + + + Par convention, pour utiliser des pas fixes, le programme commence par calculer un pas h qui approche le paramère de simulation max step size. + + + Une différence notable de Runge-Kutta par rapport à Sundials est qu'il calcule jusqu'à la septième dérivée de y, alors que les autres n'utilisent que des combinaisons linéaires de y et y'. + + + Ici, la valeur suivante est déterminée par la valeur actuelle + + yn + + plus la moyenne pondérée de six incréments, où chaque incrément est le produit du pas, h, et une estimation de la pente spécifiée par la fonction f(t,y) : + + + k1 est l'incrément basé sur la pente au début de l'intervalle, utilisant + + yn + + (méthode d'Euler), + + + k2, k3, k4 et k5 sont les incréments basés sur la pente à repectivement 0.2, 0.3, 0.8 et 0.9 de l'intervalle, s'utilisant mutuellement, + + + k6 est l'incrément basé sur la pente à la fin de l'intervalle, utilisant des combinaisons des autres ki. + + + + + On peut voir qu'avec les ki, on progresse dans les dérivées de + + yn + + . Dans le calcul des ki, on utilise délibérément des coefficients qui donnent une erreur en + + O(h5) + + à chaque pas. + + + L'erreur totale est donc en + + nombre de pas * O(h5) + + . Et puisque par définition nombre de pas = taille de l'intervalle / h, l'erreur totale est en + + O(h4) + + . + + + Cette analyse d'erreur a baptisé la méthode Dormand-Prince 4(5): + + O(h5) + + par pas de temps, + + O(h4) + + au total. + + + Bien que le solveur fonctionne bien pour max step size jusqu'à + + 10-3 + + , des erreurs d'arrondi surviennent parfois quand l'on approche + + 4*10-4 + + . En effet, le scindage de l'intervalle ne peut pas être effectué correctement et l'on obtient des résultats imprévisibles. + + + + Exemples + + + + + + + + + + + + Le bloc intégrale retourne son état continu, on peut l'évaluer avec Dormand-Prince en lançant l'exemple : + + + + + + La console Scilab affiche : + + + + Maintenant, dans le script suivant, on compare la différence de temps entre Dormand-Prince et CVode en lançant l'exemple avec les cinq solveurs tour à tour : + + Open the script + + + + + + + Ces résultats montrent que pour un problème non-raide, pour à peu près la même précision demandée et en forçant la même taille de pas, Dormand-Prince est plus rapide. + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Journal of Computational and Applied Mathematics, Volume 15, Parution 2, 2 Juin 1986, Pages 203-211 Dormand-Prince Method + + + Documentation Sundials + + + + Histoire + + + 5.4.1 + Dormand-Prince 4(5) ajouté + + + + diff --git a/modules/xcos/help/fr_FR/solvers/4-RKImplicite.xml b/modules/xcos/help/fr_FR/solvers/4-RKImplicite.xml new file mode 100755 index 000000000..7543430a2 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/4-RKImplicite.xml @@ -0,0 +1,311 @@ + + + + + Implicit Runge-Kutta 4(5) + + Implicit Runge-Kutta est un solveur numérique fournissant une méthode implicite efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Ordinarires (EDOs). Called by xcos. + + + + Description + + Runge-Kutta est un solveur numérique fournissant une méthode explicite efficace pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + \dot{y} = f(t,y), \hspace{3 mm} y(t_0) = y_0, \hspace{3 mm} y \in R^N + \end{eqnarray} + + + + CVode et IDA utilisent un pas variable dans l'intégration. + + + Le défaut de cela est l'imprévisibilité du temps de calcul. Avec Runge-Kutta, on ne s'adapte pas à la complexité du problème, mais on garantit un temps de calcul stable. + + + Cette méthode étant implicite, elle peut être utilisée sur des problèmes raides. + + + C'est une amélioration de la méthode d'Euler implicite, qui approxime + + yn+1 + + en calculant + + f(tn+h, yn+1) + + et tronquant le développement de Taylor. + + + Le schéma implémenté est inspiré de "Low-Dispersion Low-Dissipation Implicit Runge-Kutta Scheme" (lien en bas de page). + + + Par convention, pour utiliser des pas fixes, le programme commence par calculer un pas h qui approche le paramère de simulation max step size. + + + Une différence notable de Runge-Kutta implicite par rapport à Sundials est qu'il calcule jusqu'à la dérivée quatrième de y, alors que les autres n'utilisent que des combinaisons linéaires de y et y'. + + + Ici, la valeur suivante est déterminée par la valeur actuelle + + yn + + plus la moyenne pondérée de trois increments, où chaque incrément est le produit du pas, h, et une estimation de la pente spécifiée par la fonction f(t,y). Ils sont distribués de manière à peu près égale sur l'intervalle. + + + k1 est l'incrément basé sur la pente au début de l'intervalle, utilisant + + yn+ a11*h*k1, + + , + + + k2 est l'incrément basé sur la pente près du milieu de l'intervalle, utilisant + + yn + a21*h*k1 + a22*h*k2, + + , + + + k3 est l'incrément basé sur la pente trois quarts de l'intervalle, utilisant + + yn + a31*h*k1 + a32*h*k2 + a33*h*k3. + + + + + + On peut voir que le calcul d'un ki requiert ki, nécéssitant ainsi l'utilisation d'un solveur non linéraire (ici, itérations point-fixes). + + + D'abord, on initialise + + k0 = h * f(tn, yn) + + comme première estimation pour tous les ki, pour obtenir de nouveaux ki et une première valeur pour + + yn+1 + + . + + + Ensuite, on sauve les valeurs et on recalcule + + yn+1 + + avec ces nouveaux ki. + + + Puis on compare les deux + + yn+1 + + et on le recalcule jusqu'à ce que son écart avec le dernier soit inférieur au paramètre de simulation reltol. + + + Ce processus ajoute un temps de calcul significatif à la méthode, mais améliore grandement la stabilité. + + + On peut voir qu'avec les ki, on progresse dans les dérivées de + + yn + + . Donc avec k3, on approxime + + y(3)n + + , faisant donc une erreur en + + O(h4) + + . Mais un choix judicieux des coefficients du calcul des ki (notamment + + aij + + ) nous fait gagner un order, produisant ainsi une erreur par pas de temps en + + O(h5) + + . + + + L'erreur totale est donc + + nombre de pas * O(h5) + + . Et puisque par définition nombre de pas = taille de l'intervalle / h, l'erreur totale est en + + O(h4) + + . + + + Cette analyse d'erreur a baptisé la méthode Runge-Kutta Implicite 4(5): + + O(h5) + + par pas, + + O(h4) + + au total. + + + Bien que le solveur fonctionne bien pour max step size jusqu'à + + 10-3 + + , es erreurs d'arrondi surviennent parfois quand l'on approche + + 4*10-4 + + . En effet, le scindage de l'intervalle ne peut pas être effectué correctement et l'on obtient des résultats imprévisibles. + + + + Examples + + + + + + + + + + + + Le bloc intégrale retourne son état continu, on peut l'évaluer avec RK implicite en lançant l'exemple : + + + + + + La console Scilab affiche : + + + + Maintenant, dans le script suivant, on compare la différence de temps entre RK implicite et CVode en lançant l'exemple avec les cinq solveurs tour à tour : + + Ouverture du script + + + + + + + Ces résultats montrent que pour un problème non-raide, pour à peu près la même précision demandée et en forçant la même taille de pas, RK implicite est plus rapide. + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + DDaskr + + + Comparaisons + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Journal of Computational Physics, Volume 233, Janvier 2013, Pages 315-323 A low-dispersion and low-dissipation implicit Runge-Kutta scheme + + + Documentation Sundials + + + + Histoire + + + 5.4.1 + Runge-Kutta Implicite 4(5) ajouté + + + + diff --git a/modules/xcos/help/fr_FR/solvers/6-IDA.xml b/modules/xcos/help/fr_FR/solvers/6-IDA.xml new file mode 100755 index 000000000..60128826b --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/6-IDA.xml @@ -0,0 +1,207 @@ + + + + + IDA + + IDA (abréviation de "Implicit Differential Algebraic equations system solver") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Algebriques (EDAs). + + + + Description + + Appelé par xcos, IDA (abréviation de "Implicit Differential Algebraic equations system solver") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + F(t,y,\dot{y}) = 0, \hspace{2 mm} y(t_0)=y_0, \hspace{2 mm} \dot{y}(t_0)=\dot{y}_0, \hspace{3 mm} y, \hspace{1.5 mm} \dot{y} \hspace{1.5 mm} and \hspace{1.5 mm} F \in R^N \hspace{10 mm} (1) + \end{eqnarray} + + + + + Avant de résoudre le problème, IDA lance une routine interne pour trouver des valeurs consistantes à + + y0 + + et + + yPrime0 + + . + + Partant alors de ces + + y0 + + et + + yPrime0 + + , IDA approxime + + yn+1 + + grâce à la formule BDF : + + + + \begin{eqnarray} + \sum_{i=0}^{q} \alpha_{n,i} y_{n-i} = h_n\dot{y}_{n} + \end{eqnarray} + + + avec, comme dans CVode, + + yn + + l'approximation de + + y(tn) + + , + + hn + + = + + tn - tn-1 + + la taille du pas, et les coefficients fixés, déterminés uniformément par le type de méthode, son ordre q allant de 1 à 5 et l'histoire des pas de temps. + + + + Injecter cette formule dans (1) fournit le système : + + + + G(y_n) \equiv F \left( t_n, \hspace{1.5mm} y_n, \hspace{1.5mm} h_n^{-1}\sum_{i=0}^{q} \alpha_{n,i} y_{n-i} \right) = 0 + + + + Pour lui appliquer des itérations de Newton, on le réécrit : + + + + J \left[y_{n(m+1)}-y_{n(m)} \right] = -G(y_{n(m)}) + + + + avec J une approximation du Jacobien: + + + + J = \frac{\partial{G}}{\partial{y}} = \frac{\partial{F}}{\partial{y}}+\alpha\frac{\partial{F}}{\partial{\dot{y}}}, \hspace{4 mm} \alpha = \frac{\alpha_{n,0}}{h_n}, + + + + α change quand le pas ou l'ordre de la méthode varient. + + + Un solveur direct dense est alors utilisé et on poursuit sur le prochain pas de temps. + + + IDA se sert des valeurs passées pour contrôler l'erreur locale + + yn(m) - yn(0) + + et recalcule + + hn + + si cette erreur n'est pas satisfaisante. + + + Cette fonction est appelée entre les activations, parce-qu'une activation discrète est susceptible de modifier le système. + + + Suivant la criticalité de l'événement (son effet sur le problème continu), soit le solveur poursuit avec temps initial et final différents comme si rien ne s'était passé, soit, si le système a été modifié, il faut "réinitialiser à froid" le solveur et le relancer. + + + En moyenne, IDA acecpte des tolérances juqu'à 10-11. Au-delà, il retourne l'erreur Trop de précision demandée. + + + + Exemple + + Le bloc 'Modelica Generic' retourne ses états continus, on peut les évaluer avec IDA en lançant l'exemple: + + + + + + + + + + + + + + Voir aussi + + + LSodar + + + CVode + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Documentation Sundials + + + diff --git a/modules/xcos/help/fr_FR/solvers/7-DDaskr.xml b/modules/xcos/help/fr_FR/solvers/7-DDaskr.xml new file mode 100755 index 000000000..a7849ce02 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/7-DDaskr.xml @@ -0,0 +1,244 @@ + + + + + DDaskr + + DDaskr (abréviation de "Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale d'Equations Différentielles Algebriques (EDAs). + + + + Description + + Appelé par xcos, DDaskr (abréviation de "Double-precision Differential Algebraic equations system Solver with Krylov method and Rootfinding") est un solveur numérique fournissant une méthode efficace et stable pour résoudre des Problèmes à Valeur Initiale de la forme : + + + + \begin{eqnarray} + F(t,y,\dot{y}) = 0, \hspace{2 mm} y(t_0)=y_0, \hspace{2 mm} \dot{y}(t_0)=\dot{y}_0, \hspace{3 mm} y, \hspace{1.5 mm} \dot{y} \hspace{1.5 mm} and \hspace{1.5 mm} F \in R^N \hspace{10 mm} (1) + \end{eqnarray} + + + + + Avant de résoudre le problème, DDaskr lance une routine interne pour trouver des valeurs consistantes à + + y0 + + et + + yPrime0 + + . + + Partant alors de ces + + y0 + + et + + yPrime0 + + , DDaskr approxime + + yn+1 + + grâce à la formule BDF : + + + + \begin{eqnarray} + \sum_{i=0}^{q} \alpha_{n,i} y_{n-i} = h_n\dot{y}_{n} + \end{eqnarray} + + + avec, comme dans CVode, + + yn + + l'approximation de + + y(tn) + + , + + hn + + = + + tn - tn-1 + + la taille du pas, et les coefficients fixés, déterminés uniformément par le type de méthode, son ordre q allant de 1 à 5 et l'histoire des pas de temps. + + + + Injecter cette formule dans (1) fournit le système : + + + + G(y_n) \equiv F \left( t_n, \hspace{1.5mm} y_n, \hspace{1.5mm} h_n^{-1}\sum_{i=0}^{q} \alpha_{n,i} y_{n-i} \right) = 0 + + + + Sa résolution s'effectue par la méthode de Newton, mais les itérations sont soit directes soit de Krylov (GMRes préconditionnées). + + + + + Itération Directe : on commence par réécrire le système : + + + + J \left[y_{n(m+1)}-y_{n(m)} \right] = -G(y_{n(m)}) + + + + avec J une approximation du Jacobien : + + + + J = \frac{\partial{G}}{\partial{y}} = \frac{\partial{F}}{\partial{y}}+\alpha\frac{\partial{F}}{\partial{\dot{y}}}, \hspace{4 mm} \alpha = \frac{\alpha_{n,0}}{h_n}, + + + + α change quand le pas ou l'ordre de la méthode varient. + + + Un solveur direct dense est alors utilisé et on poursuit sur le prochain pas de temps. + + + + + Méthode de GMRes Krylov : d'abord, on préconditionne le système en appliquant le Jacobien mentionné au-dessus. + + + Ensuite, on déterminela base le l'espace de Krylov suivant et on recalcule la matrice de Hessenberg. + + + Premier test de convergence. S'il ne passe pas, on calcule le résidu, qui conduit à une potentielle nouvelle solution, et on itère jusuq'à ce que le résidu converge. + + + + + DDaskr se sert des valeurs passées pour contrôler l'erreur locale + + yn(m) - yn(0) + + et recalcule + + hn + + si cette erreur n'est pas satisfaisante. + + + Cette fonction est appelée entre les activations, parce-que'une acrtivation discrète peut modifier le système. + + + Suivant la criticalité de l'événement (son effet sur le problème continu), soit le solveur poursuit avec temps initial et final différents comme si rien ne s'était passé, soit, si le système a été modifié, il faut "réinitialiser à froid" le solveur et le relancer. + + + En moyenne, DDaskr accepte des tolérances juqu'à 10-11. Au-delà, il retourne l'erreur Trop de précision demandée. + + + Pour l'instant, DDaskr ne peut être appliqué qu'à des systèmes où les fonctions dont on cherche à détecter les traversées de zéro sont poncutellement nulles, et non nulles sur un segment. + + + + Exemple + + Le bloc 'Modelica Generic' retourne ses états continus, on peut les évaluer avec DDaskr en lançant l'exemple: + + + + + + + + + + + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + Comparaisons + + + daskr + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Netlib, documentation à l'intérieur du code. + + + Documentation Sundials + + + + Histoire + + + 5.5.0 + DDaskr ajouté + + + + diff --git a/modules/xcos/help/fr_FR/solvers/8-Racines.xml b/modules/xcos/help/fr_FR/solvers/8-Racines.xml new file mode 100755 index 000000000..41311a3b8 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/8-Racines.xml @@ -0,0 +1,187 @@ + + + + + Recherche de racines + + Cette fonctionnalité trouve des racines de fonctions continues pour les blocks Zero-crossing. + + + + Description + + Certains problèmes requièrent la détection de passage de zéro de fonctions continues (par exemple, les systèmes de régulation). + Tous les solveurs assurent cette foncionnalité, et est réalisée en suivant le même procédé. + + + Chaque Zero-crossing Block définit une de ces fonctions, notées g(t). + + + En général, cette fonctionnalité ne trouve que les racines à multiplicité impaire, correspondant à un + changement de signe de g(t). Si une de ces fonctions a une racine à multiplicité impaire (pas de changement de signe), elle ne sera probablement pas détectée. Si une telle racine est désirée, + l'utilisateur doit reformuler la fonction pour qu'elle change de signe à l'endroit de la racine. + + + Le schéma utilisé est de vérifier les traversées de zéro de g(t) sur chaque pas de temps, puis (changement de signe détecté) de zoomer sur cette traversée (ou racine) grâce à une méthode des sécantes modifiée. + + + Après des vérifications et ajustements corrects, les racines sont recherchées dans + + [tlo, thi] + + . On entre dans une boucle pour localiser + la racine suivant une tolérance acceptable, donnée par l'arrondi de la machine, le temps actuel et le pas de temps. + + + On détermine alors quelle fonction racine a le plus de chances de voir sa racine arriver en première en comparant les valeurs de la méthode des sécantes, et on donne une nouvelle valeur + + tmid + + et on restreint l'intervalle de recherche à + + [tlo, tmid] + + ou + + [tmid, thi] + + , suivant dans lequel le changement de signe se produit. + + + Puisque la tolérance dépend du pas de temps, plus ce dernier est faible, plus la précision sera grande. + + + + Exemples et Analyse du temps de calcul + + + + + + + + + + + + Exemple simple d'une fonction Sinus traversant zéro plusieurs fois : + + + + + + Les barres bleues représentent les traversées "positif vers négatif", et les rouges "négatif vers positif". + + + Dans les scripts suivants, on test le surplus de calcul de la détection de racines avec LSodar : + + + D'abord, un Sinus traversant zéro toutes les π périodes : + + Ouverture du script + + + + + + + Ensuite, une simple ligne droite traversant zéro une seule fois, au milieu de l'intervalle : + + Ouverture du script + + + + + + + Suivant le nombre de racines, l'aspect de la fonction à l'approche de ces racines, les tolérances, ..., le surplus de temps de calcul va de 25% à 45%. + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + Comparaisons + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + + Bibliographie + + Documentation Sundials + + + diff --git a/modules/xcos/help/fr_FR/solvers/9-Comparaisons.xml b/modules/xcos/help/fr_FR/solvers/9-Comparaisons.xml new file mode 100755 index 000000000..b90940fa1 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/9-Comparaisons.xml @@ -0,0 +1,826 @@ + + + + + Comparaisons + + Cette page compare les solveurs pour déterminer lequel est le mieux adapté au le problème étudié. + + + + Introduction + + Suivant le type de problème, trouver la meilleure méthode n'est pas toujours évident, on ne peut que tirer des règles générales. C'est de celles-ci que l'on parle dans cette page. + + Pas Fixe et pas Variable + + Les solveurs sont divisés en deux familles principales : celles à pas variable et celles à pas fixes. + + + Dans les méthodes à pas variable, le pas de temps peut varier suivant la dynamique du modèle et les tolérances. + + + S'il recherche un temps de simulation stable, l'utilisateur doit sélectionner un solveur à pas fixe, parce-que le temps de calcul du nouveau pas d'un solveur à pas variable ne peut pas être prédit correctement. + + + Bien que pour un problème simple (ou hautes tolérances), un solveur à pas variable peut diminuer le temps de simulation en calculant de grands pas, un solveur à aps fixe est préférable si le pas de temps idéal est connu et à peu près constant (l'utilisateur peut alors le renseigner dans max step size). + + + + Pas Variable: + + LSodar + CVode + IDA + + Pas Fixe: + + Runge-Kutta 4(5) + Dormand-Prince 4(5) + Runge-Kutta Implicite 4(5) + + + + Les solveurs d'EDO à pas variable ne sont pas appropriés pour des applications temps réel déterministes car le surplus de calcul au passage d'un pas de temps varie au cours de l'application. + + Explicite et Implicite - Raideur + + A l'intérieur de ces deux familles, on peut distinguer les solveurs Explicites des Implicites. + + + Alors que les méthodes explicites n'utilisent que des informations du pas actuel, les implicites tentent d'estimer les dérivées à des temps futurs. Pour faire cela, elles utilisentdes solveurs non linéaires telle que itérations point-fixe, itérations fonctionnelles (non-raide) ou Newton modifiées (raide). + + + Le choix de la famille est habituellement déterminé par la raideur du problème, qui estquand il y a une différence importante entre les modules des valeurs propres extrêmesde la matrice jacobienne (mal conditionnée). C'est généralement un système sensible aux discontinuités, en cela que la précision requise n'est pas constante. + + + Implicites: + + LSodar + CVode + IDA + Runge-Kutta Implicite 4(5) + + Explicites: + + Runge-Kutta 4(5) + Dormand-Prince 4(5) + + + + En un mot, les Explicites calculent directement la solution, alors que les Implicites se concentrent sur la stabilité, impliquant plus d'opérations, suivant les tolérances. + + Alors comment choisir ? + + Puisqu'il n'est pas possible de savoir avec certitude si tel solveur sera efficace sur un système donné, le meilleur moyen est de lancer le plus probable et de comparer les résultats avec les autres. + + + L'utilisateur doit d'abord établir la compexité de son problème (stabilité / raideur) et s'il désire une grande précision, une simulation rapide, un temps prévisible ou un programme automatisé. + + Précision : CVode, + + + Temps prévisible : Pas Fixe. + + + Temps de simulation : LSodar, + + + Automatisé : LSodar, + + + + + Exemples - ODEs + + Commençons par un exemple non-raide simple : une intégration de Sinus. + + + + + + + + + + + + + Dans le script suivant, on compare la différence de temps entre les solveurs en lançant l'exemple avec les huit solveurs tout à tour (IDA n'est pas adapté à ce genre de problème) : + + Ouverture du script + + + + La console Scilab affiche : + + + + Ces résultats montrent que pour un problème non-raide simple et à même précision, Runge-Kutta est le plus rapide. + + + En dépit du calcul de nouveau pas de temps, LSodar n'est pas très éloigné des solveurs à pas fixe solvers parce-qu'il détermine de larges pas de temps. + + + Des résultats, on peut extraire des facteurs de vitesse et dresser le tableau suivant : + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Runge-Kutta Implicite + + + + + LSodar + + 3.1x + 3x + 1.7x + 1.6x + 1.3x + 0.75x + 1.08x + + + + BDF / Newton + + + 0.1x + 0.6x + 0.5x + 0.4x + 0.25x + 0.35x + + + + BDF / Functional + + + + 0.6x + 0.5x + 0.4x + 0.25x + 0.4x + + + + Adams / Newton + + + + + 0.9x + 0.75x + 0.45x + 0.6x + + + + Adams / Functional + + + + + + 0.8x + 0.5x + 0.7x + + + + Dormand-Prince + + + + + + + 0.6x + 0.8x + + + + Runge-Kutta + + + + + + + + 1.4x + + + + + Ensuite, un contrôleur basique à six états continus est testé. + + + + + + + + + + + Dans le script suivant, on compare la différence de temps entre les solveurs en lançant l'exemple avec les huit solveurs tout à tour (IDA n'est pas adapté à ce genre de problème) : + + Ouverture du script + + + + La console Scilab affiche : + + + + Ces résultats montrent que quand la raideur apparaît légèrement, BDF / Newton commence à prendre de la vitesse. Mais le problème n'est pas encore suffisamment compliqué pour que cette méthode soit intéressante. + + + Le tableau des facteurs de vitesse : + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Runge-Kutta Implicite + + + + + LSodar + + 2.8x + 2.6x + 1.5x + 1.2x + 0.2x + 0.17x + 0.5x + + + + BDF / Newton + + + 0.9x + 0.5x + 0.4x + 0.1x + 0.05x + 0.2x + + + + BDF / Functional + + + + 0.6x + 0.5x + 0.1x + 0.07x + 0.2x + + + + Adams / Newton + + + + + 0.8x + 0.15x + 0.1x + 0.4x + + + + Adams / Functional + + + + + + 0.2x + 0.1x + 0.5x + + + + Dormand-Prince + + + + + + + 0.7x + 2.4x + + + + Runge-Kutta + + + + + + + + 3.4x + + + + + A présent, on utilise le filtre de Kalman, contenant quinze états continus. + + + + + + + + + + + Dans le script suivant, on compare la différence de temps entre les solveurs en lançant l'exemple avec les huit solveurs tout à tour (IDA n'est pas adapté à ce genre de problème) : + + Ouverture du script + + + + La console Scilab affiche : + + + + Ces résultats indiquent que pour un problème pour conséquent (plus d'états continus implique plus d'équations), les itérations de Newton commencent à montrer de l'intérêt, elles se rapprochent des autres solveurs. + + + Le tableau des facteurs de vitesse : + + + + + + + BDF / Newton + + + BDF / Functional + + + Adams / Newton + + + Adams / Functional + + + Dormand-Prince + + + Runge-Kutta + + + Runge-Kutta Implicite + + + + + LSodar + + 2.1x + 1.6x + 1.3x + 0.85x + 0.1x + 0.1x + 0.4x + + + + BDF / Newton + + + 0.75x + 0.6x + 0.4x + 0.06x + 0.05x + 0.2x + + + + BDF / Functional + + + + 0.8x + 0.55x + 0.08x + 0.06x + 0.25x + + + + Adams / Newton + + + + + 0.7x + 0.1x + 0.07x + 0.3x + + + + Adams / Functional + + + + + + 0.15x + 0.1x + 0.5x + + + + Dormand-Prince + + + + + + + 0.7x + 3.2x + + + + Runge-Kutta + + + + + + + + 4.6x + + + + + + Exemples - EDAs + + Dans cette section, on compare IDA à DDaskr. + + + Exemple : une balle rebondissante. + + + + + + + + + + + + + Dans le script suivant, on compare la différence de temps entre les solveurs en lançant les trois solveurs tout à tour : + + Ouverture du script + + + + La console Scilab affiche : + + + + Ces résultats montrent que pour un problème raide, avec traversées de zéro et à même précision, DDaskr - Newton est le plus rapide. + + + La différence de temps est attribuée à l'implémentation optimale de DDaskr et à son moindre contrôle d'erreur. + + + GMRes est plus lent dû à la petitesse du problème (pas suffisamment d'états continus). + + + Des résultats on extrait les facteurs de vitesse : + + + + + + + IDA + + + DDaskr G + + + + + DDaskr N + + 1.39x + 1.9x + + + + + L'exemple suivant corrobore le précédent, il est plus court mais plus complet, parce-qu'il traite du remplissage et vidage d'une cuve. + + + + + + + + + + + + + Dans le script suivant, on compare la différence de temps entre les solveurs en lançant les trois solveurs tout à tour: + + Ouverture du script + + + + La console Scilab affiche : + + + + Des résultats on extrait les facteurs de vitesse : + + + + + + + IDA + + + DDaskr G + + + + + DDaskr N + + 3.75x + 1.06x + + + + + + Voir Aussi + + + LSodar + + + CVode + + + IDA + + + Runge-Kutta 4(5) + + + Dormand-Prince 4(5) + + + Runge-Kutta Implicite 4(5) + + + DDaskr + + + ode + + + ode_discrete + + + ode_root + + + odedc + + + impl + + + + diff --git a/modules/xcos/help/fr_FR/solvers/CHAPTER b/modules/xcos/help/fr_FR/solvers/CHAPTER new file mode 100755 index 000000000..eec05a0d3 --- /dev/null +++ b/modules/xcos/help/fr_FR/solvers/CHAPTER @@ -0,0 +1 @@ +title = Solveurs diff --git a/modules/xcos/help/fr_FR/xcos.xml b/modules/xcos/help/fr_FR/xcos.xml new file mode 100755 index 000000000..5b0ccf544 --- /dev/null +++ b/modules/xcos/help/fr_FR/xcos.xml @@ -0,0 +1,187 @@ + + + + + xcos + + Editeur de schéma-bloc et IHM pour le simulateur hybride + + + + Séquence d'appel + + xcos(filename) + xcos(scs_m_list) + + + + Module + + + + xcos + + + + + + Paramètres + + + + filename : une chaîne de caractères contenant + le chemin du fichier de schéma (extension .cos, .cosf or .zcos). Si aucun argument + n'est fourni, un schéma vide est ouvert (nom par défaut Sans titre). + + + + + scs_m_list : une structure de schéma Xcos + après édition. + + + + + + Description + + Xcos est un éditeur visuel de construction de modèles de systèmes dynamiques hybrides. + Les modèles peuvent être assemblés, chargés, sauvés, compilés, simulés, en utilisant l'interface graphique de + Xcos. Xcos sert d'interface à divers compilateurs de schémas-blocs + et au simulateur hybride scicosim. + + + L'environnement Xcos présente les éléments suivants : + + + + + Editeur + + + L'éditeur permet le dessin d'un schéma-bloc représentant un système dynamique fait de blocs définis dans des palettes. + Les utilisateurs peut personnaliser les blocs et en définir de nouveaux. + + + + + + Navigateur de palette + + + Le navigateur de palette liste tous les blocs standards de Xcos groupés par catégories + (traitement du signal, électricité, hydraulique, dérivées, intégrale, etc.). Voir la figure ci-dessous + + + + + + Compilateur/Simulateur + + + L'environnement Xcos permet, à partir du modèle défini, la simulation de systèmes + complexes - discrets, continus, définis par des équations symboliques (Modelica), etc. et des systèmes hybrides + combinant les capacités énoncées ci-dessus. Les données résultant de la simulation peuvent ensuite être observées + graphiquement en temps réel, utilisées dans Scilab pour être traitées ultérieurement, etc. + + + + + + L'invocation de Xcos avec l'icône de la barre d'outils + + + + + + , avec l'item Xcos du menu Applications de la fenêtre principale de + Scilab, ou comme dans l'exemple suivant, ouvre la fenêtre Xcos d'édition montrée ci-dessous. + + + xcos + + + + + + + + Pour ouvrir un schéma existant, vous devez fournir une nom de fichier valide, comme dans cet exemple : + + + + + Dans ce cas d'utilisation, la fenêtre d'édition Xcos affiche le schéma de la démonstration bounce.zcos + + + + Si une structure de schéma est présente dans l'espace de travail Scilab, vous pouvez l'ouvrir + comme dans cet exemple : + + + + + où scs_m est la structure de schéma de bounce.zcos. + + + Vous construisez vos modèles en liant les blocs fournis dans le navigateur de palettes ouvert simultanément avec + l'éditeur Xcos. Cette fenêtre à l'apparence suivante : + + + + + + + + + + Vous pouvez choisir les palettes affichées en cliquant sur le titre Palette dans la partie + gauche de la fenêtre. La fenêtre palette montre une liste de sélection où vous pouvez sélectionner/déselectionner + les palettes individuellement. Pour revenir à l'affichage précédent, cliquer sur un titre de palette. + + + + + + + + Xcos nécessite un compilateur C pour une accélération des simulations. + Il est recommandé d'installer un compilateur C sur votre machine. + + + Voir Aussi + + + scicosim + + + scicos_simulate + + + Entrées de menu + + + Compilateurs supportés + + + + diff --git a/modules/xcos/help/fr_FR/xcos_menu_entries.xml b/modules/xcos/help/fr_FR/xcos_menu_entries.xml new file mode 100755 index 000000000..d352bf2d4 --- /dev/null +++ b/modules/xcos/help/fr_FR/xcos_menu_entries.xml @@ -0,0 +1,976 @@ + + + + + $LastChangedDate$ + + + Entrées de menu + Entrées de menu de l'éditeur Xcos + + + Contenu + + Cette section présente brièvement toutes les entrées de menu de l'éditeur Xcos. Beaucoup d'items + sont également disponibles dans les menus contextuels affichés par un clic droit quand le curseur de souris est sur un + bloc, une liaison ou dans la fenêtre principale de Xcos window. + + + + + Entrées de menu de l'éditeur Xcos + + + + + + + Menu Fichier + + + + + Menu Édition + + + + + Menu Affichage + + + + + Menu Simulation + + + + + Menu Format + + + + + Menu Outils + + + + + Menu ? + + + + + Voir aussi + + + + + Auteurs + + + + + + + + Menu Fichier + + + + + + + + + Fichier : Nouveau schéma (Ctrl+N) + + + + + + + + En cliquant sur l'item Nouveau schéma un schéma vide est chargé dans une nouvelle fenêtre + d'édition de schéma Xcos. Avec ce menu, vous pouvez ouvrir un nouveau schéma ou une nouvelle + palette. + + + Le schéma Xcos courant n'est pas affecté. + + + + + + Fichier : Ouvrir (Ctrl+O) + + + + + + + + Sélectionnez l'item Ouvrir pour charger un fichier XML (.zcos) + ou binaire (.cos) contenant un schéma-bloc ou une palette. La commande ouvre une boîte de + dialogue qui vous permet de choisir un dossier et un fichier. + + + + + + Fichier : Enregistrer (Ctrl+S) + + + + + + + + Sélectionnez l'item de menu Enregistrer pour sauver le schéma-bloc + dans un fichierXML. + + + Si vous choisissez cet item sans jamais avoir cliqué sur l'item Enregistrer ou + l'item Enregistrer sous, un dialogue vous permet de choisir un répertoire et de spécifier + un nom de fichier sans extension. L'extension par défaut est .zcos + + + Le schéma prend le nom du fichier (sans l'extension). + + + + + + Fichier : Enregistrer sous (Ctrl+Maj+S) + + + + + + + + Sélectionnez l'item Enregistrer sous pour sauver le schéma bloc ou la palette avec + un nouveau nom. + + + Un dialogue permet de spécifier un nom de fichier et un dossier de sauvegarde. Comme nous l'avons dit ci-dessus ne + spécifiez pas d'extension. L'extension par défaut est .zcos. + + + Le schéma prend le nom du fichier (sans l'extension). + + + + + + Fichier : Exporter (Ctrl+E) + + + Cet item est utilisé pour exporter une image du schéma Xcos courant. L'exportation peut être + faîte aux formats WBMP, GIF, HTML, JPEG, JPG, PNG, SVG ou VML. + + + + + + Fichier : Fichiers récents + + + A travers ce menu, vous avez un accès rapide aux fichiers récemment ouverts. + + + + + + Fichier : Imprimer (Ctrl+P) + + + + + + + Imprime le schéma courant sur une imprimante. + + + + + Fichier : Fermer (Ctrl+W) + + + Si plusieurs schémas sont ouverts, l'action Fermer ferme le schéma courant. Si un seul schéma + est ouvert, l'action Fermer ferme Xcos. Les fenêtres auxiliaires telles + que zone d'affichage, palettes, etc. sont également fermées si nécessaire. + + + + + + Fichier : Quitter (Ctrl+Q) + + + L'action Quitter ferme Xcos. + Les fenêtres auxiliaires telles que zone d'affichage, palettes, etc sont également fermées si nécessaire. + + + + + + Menu Édition + + + + + + + + + + Édition : Défaire (Ctrl+Z) + + + + + + + + Sélectionnez l'item Défaire pour annuler la dernière opération d'édition. + + + + + + Édition : Rétablir (Ctrl+Y) + + + + + + + + Sélectionnez l'item Rétablir pour rétablir la dernière opération d'édition annulée. + + + + + + Édition : Couper (Ctrl+X) + + + + + + + + Couper est utilisé pour supprimer les objets sélectionnés du schéma et en garder une copie + dans le presse-papier. Quand vous effacez un bloc, toutes les liaisons qui lui sont connectées sont elles aussi + effacées. + + + + + + Édition : Copier (Ctrl+C) + + + + + + + + Copier est utilisé pour placer une copie des objets sélectionnés dans le presse-papier. + + + + + + Édition : Coller (Ctrl+V) + + + + + + + + Coller place le contenu du presse-papier dans le schéma courant. + + + + + + Édition : Supprimer (Suppr) + + + + + + + + Pour effacer des blocs ou des liaisons, sélectionnez les objets à effacer puis l'item Supprimer. + Quand vous effacez un bloc, toutes les liaisons qui lui sont connectées sont elles aussi effacées. + + + + + + Édition : Tout sélectionner (Ctrl+A) + + Sélectionne tous les blocs du schéma courant. + + + + + Édition : Inverser la sélection + + Inverse la sélection courante. + + + + + Édition : Paramètres de bloc (Ctrl+B) + + + + + + + + Ouvre le dialogue de configuration du bloc sélectionné. La configuration dépend du bloc utilisé (voir l'aide du + bloc pour obtenir plus d'information sur sa configuration). + + + + + + Édition : Zone vers superbloc + + + + + + + Convertit une sélection de blocs en un superbloc. + + + + + Menu Affichage + + + + + + + + + Affichage : Zoom avant (Ctrl+Pavé numérique Plus) + + + + + + + Quand vous sélectionnez cet item la vue du schéma est agrandie d'un facteur de 10%. + + + + + Affichage : Zoom arrière (Ctrl+Pavé numérique Moins) + + + + + + + + Quand vous sélectionnez cet item, la vue du schéma est réduite d'un facteur de 10%. + + + + + + Affichage : Ajuster le diagramme à la vue + + + + + + + + Quand vous sélectionnez cet item la vue du schéma est ajustée à la taille de la fenêtre courante. + + + + + + Affichage : Normal 100% + + + + + + + Dimensionne les composants du diagramme à leurs dimensions par défaut. + + + + + Affichage : Navigateur de palettes + + Ouvre le navigateur de palette. + + + + + Affichage : Navigateur de diagrammes + + + Affiche une fenêtre qui liste les propriétés globales du schéma et de tous les objets qu'il contient (blocs et + liaisons). Il présente le contenu de la structure scs_m du schéma. + + + + + + Affichage : Aperçu + + + Affiche la vue Aperçu. Cette fenêtre est une image complète du schéma courant. + Avec la vue Aperçu, vous pouvez déplacer l'aire de travail affichée sur une partie + du schéma. Vous pouvez agrandir ou réduire la vue du schéma. + + + + + + + + + + Ci-dessus, vous avez un exemple de la vue Aperçu incluse dans la fenêtre + Xcos utilisée pour agrandir une partie du schéma. Sur la gauche, la fenêtre d'édition + présente la partie agrandie du schéma. + + + + + + Affichage : Détails + + + Affiche une fenêtre par bloc sélectionné qui liste les propriétés du bloc. Il présente sous forme + d'arbre le contenu de la structure scs_m du bloc + + + + + + Menu Simulation + + + + + + + + + Simulation : Configurer + + + + + + + + Dans la fenêtre principale de Xcos, Un clic sur l'item de menu Configurer + invoque le dialogue ci-dessous qui vous permet de modifier les paramètres d'intégration (simulation): + + + + + + + + + + + + Temps final d'intégration : l'intégration (la simulation) + finit à cet instant, elle démarre toujours à 0. + + + + + + Mise à l'échelle temps réel : force une simulation temps réel + en plaçant l'unité de temps de simulation Xcos à 1 seconde. + + + + + + Tolérances absolue et relative : propriétés du + du solveur. + + + + + + Tolérance de temps : le plus petit intervalle de temps + pour lequel le solveur ode est utilisé pour mettre à jour les états continus. + + + + + + Intervalle max de temps d'intégration : l'intervalle maximal + de temps entre chaque appel au solveur. il doit être réduit si le message "Beaucoup trop d'appels" + est rencontré. + + + + + + Solveur : choix du solveur numérique à utiliser. Vous avez le + choix entre un solveur d'équations différentielles ordinaires (ODE) et un solveur d'équations + différentielles algébriques (IDA). Si Xcos détecte que votre modèle requiert + un solveur IDA, Xcos affiche un message d'information pour son basculement + automatique vers le solveur IDA. + + + + + + Taille de pas maximum : la valeur maximale d'un pas de temps calcul + pris par le solveur. Ce paramètre est utile pour chercher les singularités localisées dans une réponse + monotone d'un système. Pour ce type réponse, le solveur accroît automatiquement la valeur du pas pour + diminuer le temps global de calcul. Si vous pensez que votre système est dans ce cas, réduisez la valeur + de ce paramètre. + + + + + + Modifier le contexte : voir l'explication ci-dessous. + + + + + + Standard : ce bouton remet les paramètres de simulation à leurs valeurs usine. + + + + + + + Pour plus d'information sur les solveurs, rendez-vous à la section + Voir aussi. + + + + + Trace d'exécution et de débogage + + + Met Xcos en mode débogage. Pour plus d'informations, voir la commande + scicos_debug + + + + + + Simulation : Modifier le contexte + + + Quand vous sélectionnez cet item de menu vous obtenez ce dialogue : + + + + + + + + + + Vous pouvez entrer des instructions Scilab pour définir des paramètres symboliques + Xcos utilisés dans les définitions de bloc ou faire tout autre chose. + + + Ces instructions seront évaluées à chaque chargement du schéma. Si vous changez la valeur d'un paramètre symbolique + Xcos dans le contexte, tous les blocs qui le contiennent sont mis à jour quand vous cliquez + sur OK. Par exemple si vous voulez mettre la valeur de gain de plusieurs blocs à une valeur + dépendant d'une seule valeur, vous pouvez procéder comme suit + + + + + Nous avons trois blocs GAINBLK_f, ouvrez le dialogue Modifier le contexte + et écrivez vos variables symboliques : + + + + + + + + Ensuite, ouvrez successivement chaque boîte de dialogue de paramètres de bloc et inscrivez pour la valeur de gain + le nom de la valeur symbolique, ici A, B, et C. + + + + + + + + Simulation : Compiler + + + Sélectionnez l'item Compiler pour compiler le schéma-bloc. Cet item n'a jamais + besoin d'être utilisé puisque la compilation est effectuée, si nécessaire, avant le début de chaque simulation + (item de menu Démarrer). + + + Normalement, une nouvelle compilation n'est pas utile si seuls les paramètres et les états internes sont modifiés. + Dans quelques cas cependant, ces modifications ne sont pas correctement mises à jour et une compilation peut être + nécessaire avant de Redémarrer ou de Continuer. + + + + Si vous rencontrez une telle situation, veuillez s'il vous plaît, nous la signaler. + + + Rapport de bogues et d'amélioration de Scilab + + + + + + + Simulation : Initialisation de Modelica + + + Cet item ouvre un dialogue spécifique pour le compilateur Modelica où vous pouvez voir les + composants de votre modèle et également sélectionner un solveur parmi les solveurs Kinsol, + Ida, Fsolve, Optim, + Nelder Mead et Hompack. + + + + + + Simulation : Démarrer + + + + + + + + Sélectionnez l'item Démarrer pour lancer la simulation. Si le système a déjà été + simulé, un dialogue est affiché dans lequel vous pouvez choisir entre Continuer, + Redémarrer ou Terminer la simulation. + + + + + + Simulation : Stop + + + + + + + + Vous pouvez interrompre la simulation en cliquant sur l'item Stop ou sur le bouton de + la barre d'outils. Vous pouvez modifier les paramètres de bloc et continuer la simulation avec les nouvelles + valeurs. + + + + + + Menu Format + + + + + + + + + Format : Rotation (Ctrl+R) + + + + + + + + Rotation permet de tourner un bloc vers la gauche d'un angle de 90°. La rotation affecte tous + les blocs sélectionnés. + + + + + + Format : Pivoter (Ctrl+F) + + + + + + + + Pour inverser les positions des entrées et sorties d'événements placées en haut et en bas d'un bloc, sélectionnez + un bloc et l'item Flip. Ceci n'affecte ni l'ordre ni la position des ports d'entrée + et de sortie d'événement qui sont numérotés de droite à gauche. Le pivotement affecte tous les blocs sélectionnés. + + + + + + Format: Miroir (Ctrl+M) + + + + + + + + Pour inverser les positions des entrées et sorties régulières placées sur sa gauche et sur sa droite, sélectionnez un + bloc et l'item Miroir Ceci n'affecte ni l'ordre, ni la position des ports d'entrée et de sortie + réguliers qui sont numérotés de haut en bas. Le miroir affecte tous les blocs sélectionnés. + + + + + + Format : Afficher/Cacher l'ombre + + + L'item permet de sélectionner l'aspect 3D des blocs sélectionnés. + + + + + + Format : Aligner les blocs + + + + + + + + + + Quand vous sélectionnez plusieurs blocs, il est possible de les aligner sur l'axe horizontal + (Haut, Bas et Milieu) ou sur l'axe + vertical (Gauche, Droite et Centre). + + + + + + Format : Couleur de la bordure + + + + + + + L'item permet de changer la couleur des bords des blocs sélectionnés. + + + + + Format : Couleur de remplissage + + + + + + + L'item permet de changer la couleur de remplissage des blocs sélectionnés. + + + + + Format : Style de liaison + + + + + + + + + L'item permet de modifier le style d'une liaison. + + + Horizontal + + + + + + + + Direct + + + + + + + + Vertical + + + + + + + + + + + + Format : Fond du schéma... + + L'item permet de changer la couleur de fond du schéma. + + + + + Format : Grille + + + L'item permet d'activer/désactiver la grille. Avec la grille, le placement des blocs et des liaisons est plus facile + et vous obtenez un schéma plus lisible. + + + + + + Menu Outils + + + + + + + + + Tools : Génération de code + + + Ce menu permet de générer le code de simulation associé avec à un Super bloc en temps discret. + La génération de code est obtenue simplement en sélectionnant le Super bloc et ensuite ce menu. + + + Si le Super bloc satisfait les conditions requises, un dialogue est affiché qui demande un nom de bloc, le répertoire + où placer les fichiers générés et les librairies optionnelles requises par l'éditeur de lien. Une fois cette + information donnée, le code est généré, compilé et lié avec Scilab. + + + Le Super bloc est remplacé automatiquement par un nouveau bloc qui implémente le code généré. Ensuite, il est possible + de simuler le schéma modifié. Le code pour une utilisation autonome est également généré. + + + + + + Menu ? + + + + + + + + + Aide : Aide Xcos (F1) + + + + + + + Ce menu ouvre le navigateur d'aide sur la section Xcos. + + + + + Aide : Aide du bloc + + + + + + + + Pour obtenir de l'aide sur un bloc Xcos, sélectionnez le bloc cliquez ensuite sur cet item. + + + + + + Aide : Démos Xcos + + + + + + + + L'item Démos Xcos permet d'ouvrir plusieurs exemples de schémas Xcos. + + + + + + Aide : A propos de Xcos + + + L'item About Xcos affiche la version courante de Xcos dans un dialogue. + + + + + + See Also + + + scicos_debug + + + ode + + + dassl + + + + + Auteurs + + DIGITEO + Bernard DUJARDIN - Contributeur + + + diff --git a/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_color_gui.png b/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_color_gui.png new file mode 100755 index 000000000..c28eb4d0d Binary files /dev/null and b/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_color_gui.png differ diff --git a/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_text_gui.png b/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_text_gui.png new file mode 100755 index 000000000..7f19d2bc4 Binary files /dev/null and b/modules/xcos/help/gui/annotations_pal/en_US/TEXT_f_text_gui.png differ diff --git a/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_color_gui.png b/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_color_gui.png new file mode 100755 index 000000000..c5fecd8f3 Binary files /dev/null and b/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_color_gui.png differ diff --git a/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_text_gui.png b/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_text_gui.png new file mode 100755 index 000000000..e8bd879b7 Binary files /dev/null and b/modules/xcos/help/gui/annotations_pal/fr_FR/TEXT_f_text_gui.png differ diff --git a/modules/xcos/help/gui/discontinuities_pal/en_US/DEADBAND_gui.png b/modules/xcos/help/gui/discontinuities_pal/en_US/DEADBAND_gui.png new file mode 100755 index 000000000..091b96826 Binary files /dev/null and b/modules/xcos/help/gui/discontinuities_pal/en_US/DEADBAND_gui.png differ diff --git a/modules/xcos/help/gui/discontinuities_pal/fr_FR/DEADBAND_gui.png b/modules/xcos/help/gui/discontinuities_pal/fr_FR/DEADBAND_gui.png new file mode 100755 index 000000000..091b96826 Binary files /dev/null and b/modules/xcos/help/gui/discontinuities_pal/fr_FR/DEADBAND_gui.png differ diff --git a/modules/xcos/help/gui/discrete_pal/en_US/DELAY_f_gui.png b/modules/xcos/help/gui/discrete_pal/en_US/DELAY_f_gui.png new file mode 100755 index 000000000..2248d2d19 Binary files /dev/null and b/modules/xcos/help/gui/discrete_pal/en_US/DELAY_f_gui.png differ diff --git a/modules/xcos/help/gui/discrete_pal/fr_FR/DELAY_f_gui.png b/modules/xcos/help/gui/discrete_pal/fr_FR/DELAY_f_gui.png new file mode 100755 index 000000000..b5031f2bc Binary files /dev/null and b/modules/xcos/help/gui/discrete_pal/fr_FR/DELAY_f_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/BITCLEAR_gui.png b/modules/xcos/help/gui/integer_pal/en_US/BITCLEAR_gui.png new file mode 100755 index 000000000..f2474305a Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/BITCLEAR_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/BITSET_gui.png b/modules/xcos/help/gui/integer_pal/en_US/BITSET_gui.png new file mode 100755 index 000000000..253ed5d27 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/BITSET_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/CONVERT_gui.png b/modules/xcos/help/gui/integer_pal/en_US/CONVERT_gui.png new file mode 100755 index 000000000..5abc42bdf Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/CONVERT_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/EXTRACTBITS_gui.png b/modules/xcos/help/gui/integer_pal/en_US/EXTRACTBITS_gui.png new file mode 100755 index 000000000..bdfb99977 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/EXTRACTBITS_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/INTMUL_gui.png b/modules/xcos/help/gui/integer_pal/en_US/INTMUL_gui.png new file mode 100755 index 000000000..50db81301 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/INTMUL_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/JKFLIPFLOP_gui.png b/modules/xcos/help/gui/integer_pal/en_US/JKFLIPFLOP_gui.png new file mode 100755 index 000000000..e80313b6c Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/JKFLIPFLOP_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/LOGIC_gui.png b/modules/xcos/help/gui/integer_pal/en_US/LOGIC_gui.png new file mode 100755 index 000000000..60f12b3d6 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/LOGIC_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/SHIFT_gui.png b/modules/xcos/help/gui/integer_pal/en_US/SHIFT_gui.png new file mode 100755 index 000000000..0a2cb5ef5 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/SHIFT_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/en_US/SRFLIPFLOP_gui.png b/modules/xcos/help/gui/integer_pal/en_US/SRFLIPFLOP_gui.png new file mode 100755 index 000000000..8a8f30568 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/en_US/SRFLIPFLOP_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/BITCLEAR_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/BITCLEAR_gui.png new file mode 100755 index 000000000..ac81f76ff Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/BITCLEAR_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/BITSET_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/BITSET_gui.png new file mode 100755 index 000000000..249d9eec2 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/BITSET_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/CONVERT_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/CONVERT_gui.png new file mode 100755 index 000000000..c8dc70a23 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/CONVERT_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/EXTRACTBITS_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/EXTRACTBITS_gui.png new file mode 100755 index 000000000..7187ae262 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/EXTRACTBITS_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/INTMUL_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/INTMUL_gui.png new file mode 100755 index 000000000..619fd4bd5 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/INTMUL_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/JKFLIPFLOP_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/JKFLIPFLOP_gui.png new file mode 100755 index 000000000..0693e8544 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/JKFLIPFLOP_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/LOGIC_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/LOGIC_gui.png new file mode 100755 index 000000000..eed9391c2 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/LOGIC_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/SHIFT_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/SHIFT_gui.png new file mode 100755 index 000000000..f13412e16 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/SHIFT_gui.png differ diff --git a/modules/xcos/help/gui/integer_pal/fr_FR/SRFLIPFLOP_gui.png b/modules/xcos/help/gui/integer_pal/fr_FR/SRFLIPFLOP_gui.png new file mode 100755 index 000000000..64bfd5c30 Binary files /dev/null and b/modules/xcos/help/gui/integer_pal/fr_FR/SRFLIPFLOP_gui.png differ diff --git a/modules/xcos/help/gui/lookuptables_pal/en_US/INTRPLBLK_f_gui.png b/modules/xcos/help/gui/lookuptables_pal/en_US/INTRPLBLK_f_gui.png new file mode 100755 index 000000000..b3de45dc1 Binary files /dev/null and b/modules/xcos/help/gui/lookuptables_pal/en_US/INTRPLBLK_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/CLKINV_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/CLKINV_f_gui.png new file mode 100755 index 000000000..fe69a86bc Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/CLKINV_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/CLKOUTV_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/CLKOUTV_f_gui.png new file mode 100755 index 000000000..3b30ac840 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/CLKOUTV_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/INIMPL_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/INIMPL_f_gui.png new file mode 100755 index 000000000..6bffb9c99 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/INIMPL_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/IN_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/IN_f_gui.png new file mode 100755 index 000000000..74dd826b0 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/IN_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/OUTIMPL_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/OUTIMPL_f_gui.png new file mode 100755 index 000000000..757e5bd98 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/OUTIMPL_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/en_US/OUT_f_gui.png b/modules/xcos/help/gui/portaction_pal/en_US/OUT_f_gui.png new file mode 100755 index 000000000..264738413 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/en_US/OUT_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/CLKINV_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/CLKINV_f_gui.png new file mode 100755 index 000000000..c62bdfd29 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/CLKINV_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/CLKOUTV_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/CLKOUTV_f_gui.png new file mode 100755 index 000000000..86076c066 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/CLKOUTV_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/INIMPL_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/INIMPL_f_gui.png new file mode 100755 index 000000000..640344755 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/INIMPL_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/IN_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/IN_f_gui.png new file mode 100755 index 000000000..649c985ab Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/IN_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/OUTIMPL_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/OUTIMPL_f_gui.png new file mode 100755 index 000000000..d9d4122dd Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/OUTIMPL_f_gui.png differ diff --git a/modules/xcos/help/gui/portaction_pal/fr_FR/OUT_f_gui.png b/modules/xcos/help/gui/portaction_pal/fr_FR/OUT_f_gui.png new file mode 100755 index 000000000..f585d1406 Binary files /dev/null and b/modules/xcos/help/gui/portaction_pal/fr_FR/OUT_f_gui.png differ diff --git a/modules/xcos/help/gui/sinks_pal/en_US/WFILE_f_gui.png b/modules/xcos/help/gui/sinks_pal/en_US/WFILE_f_gui.png new file mode 100755 index 000000000..42c879146 Binary files /dev/null and b/modules/xcos/help/gui/sinks_pal/en_US/WFILE_f_gui.png differ diff --git a/modules/xcos/help/gui/sinks_pal/en_US/WRITEC_f_gui.png b/modules/xcos/help/gui/sinks_pal/en_US/WRITEC_f_gui.png new file mode 100755 index 000000000..48f09db23 Binary files /dev/null and b/modules/xcos/help/gui/sinks_pal/en_US/WRITEC_f_gui.png differ diff --git a/modules/xcos/help/gui/sinks_pal/fr_FR/WFILE_f_gui.png b/modules/xcos/help/gui/sinks_pal/fr_FR/WFILE_f_gui.png new file mode 100755 index 000000000..90a9861f9 Binary files /dev/null and b/modules/xcos/help/gui/sinks_pal/fr_FR/WFILE_f_gui.png differ diff --git a/modules/xcos/help/gui/sinks_pal/fr_FR/WRITEC_f_gui.png b/modules/xcos/help/gui/sinks_pal/fr_FR/WRITEC_f_gui.png new file mode 100755 index 000000000..956750be5 Binary files /dev/null and b/modules/xcos/help/gui/sinks_pal/fr_FR/WRITEC_f_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/CLOCK_c_gui.png b/modules/xcos/help/gui/sources_pal/en_US/CLOCK_c_gui.png new file mode 100755 index 000000000..842398695 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/CLOCK_c_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/Counter_gui.png b/modules/xcos/help/gui/sources_pal/en_US/Counter_gui.png new file mode 100755 index 000000000..999b73eff Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/Counter_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/GENSIN_f_gui.png b/modules/xcos/help/gui/sources_pal/en_US/GENSIN_f_gui.png new file mode 100755 index 000000000..7745b9929 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/GENSIN_f_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/GENSQR_f_gui.png b/modules/xcos/help/gui/sources_pal/en_US/GENSQR_f_gui.png new file mode 100755 index 000000000..59b98c092 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/GENSQR_f_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/Modulo_Count_gui.png b/modules/xcos/help/gui/sources_pal/en_US/Modulo_Count_gui.png new file mode 100755 index 000000000..6f25a9a76 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/Modulo_Count_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/PULSE_SC_gui.png b/modules/xcos/help/gui/sources_pal/en_US/PULSE_SC_gui.png new file mode 100755 index 000000000..73fad8607 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/PULSE_SC_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/RAMP_gui.png b/modules/xcos/help/gui/sources_pal/en_US/RAMP_gui.png new file mode 100755 index 000000000..548ef9e7f Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/RAMP_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/RFILE_f_gui.png b/modules/xcos/help/gui/sources_pal/en_US/RFILE_f_gui.png new file mode 100755 index 000000000..113c66424 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/RFILE_f_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/STEP_FUNCTION_gui.png b/modules/xcos/help/gui/sources_pal/en_US/STEP_FUNCTION_gui.png new file mode 100755 index 000000000..fb2a8f7f9 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/STEP_FUNCTION_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/en_US/TKSCALE_gui.png b/modules/xcos/help/gui/sources_pal/en_US/TKSCALE_gui.png new file mode 100755 index 000000000..5e5eaff9a Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/en_US/TKSCALE_gui.png differ diff --git a/modules/xcos/help/gui/sources_pal/fr_FR/RFILE_f_gui.png b/modules/xcos/help/gui/sources_pal/fr_FR/RFILE_f_gui.png new file mode 100755 index 000000000..8103acce8 Binary files /dev/null and b/modules/xcos/help/gui/sources_pal/fr_FR/RFILE_f_gui.png differ diff --git a/modules/xcos/help/gui/userdefinedfunctions_pal/en_US/EXPRESSION_gui.png b/modules/xcos/help/gui/userdefinedfunctions_pal/en_US/EXPRESSION_gui.png new file mode 100755 index 000000000..dcc375ffa Binary files /dev/null and b/modules/xcos/help/gui/userdefinedfunctions_pal/en_US/EXPRESSION_gui.png differ diff --git a/modules/xcos/help/gui/xcos/en_US/xcos_gui.png b/modules/xcos/help/gui/xcos/en_US/xcos_gui.png new file mode 100755 index 000000000..b6bc251c5 Binary files /dev/null and b/modules/xcos/help/gui/xcos/en_US/xcos_gui.png differ diff --git a/modules/xcos/help/gui/xcos/en_US/xcos_palette_gui.png b/modules/xcos/help/gui/xcos/en_US/xcos_palette_gui.png new file mode 100755 index 000000000..e15835e08 Binary files /dev/null and b/modules/xcos/help/gui/xcos/en_US/xcos_palette_gui.png differ diff --git a/modules/xcos/help/gui/xcos/en_US/xcos_palette_select_gui.png b/modules/xcos/help/gui/xcos/en_US/xcos_palette_select_gui.png new file mode 100755 index 000000000..9d6dee443 Binary files /dev/null and b/modules/xcos/help/gui/xcos/en_US/xcos_palette_select_gui.png differ diff --git a/modules/xcos/help/gui/xcos/fr_FR/xcos_gui.png b/modules/xcos/help/gui/xcos/fr_FR/xcos_gui.png new file mode 100755 index 000000000..1264d073d Binary files /dev/null and b/modules/xcos/help/gui/xcos/fr_FR/xcos_gui.png differ diff --git a/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_gui.png b/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_gui.png new file mode 100755 index 000000000..51d64ac8d Binary files /dev/null and b/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_gui.png differ diff --git a/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_select_gui.png b/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_select_gui.png new file mode 100755 index 000000000..8dedf50da Binary files /dev/null and b/modules/xcos/help/gui/xcos/fr_FR/xcos_palette_select_gui.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_edit.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_edit.png new file mode 100755 index 000000000..56305446c Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_edit.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_file.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_file.png new file mode 100755 index 000000000..e6f07fb2a Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_file.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format.png new file mode 100755 index 000000000..1d8d03f2d Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_align.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_align.png new file mode 100755 index 000000000..2a0aa279d Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_align.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_link_style.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_link_style.png new file mode 100755 index 000000000..2e246a39d Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_format_link_style.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_help.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_help.png new file mode 100755 index 000000000..4157880db Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_help.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_simulation.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_simulation.png new file mode 100755 index 000000000..65f4fbb3e Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_simulation.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_tools.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_tools.png new file mode 100755 index 000000000..0f48f4837 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_tools.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_view.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_view.png new file mode 100755 index 000000000..60486a555 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_view.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_viewport.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_viewport.png new file mode 100755 index 000000000..b3ec44a77 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_menu_viewport.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_context_gui.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_context_gui.png new file mode 100755 index 000000000..c22135742 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_context_gui.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_simulation_parameters_gui.png b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_simulation_parameters_gui.png new file mode 100755 index 000000000..c1c00f49b Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/en_US/xcos_set_simulation_parameters_gui.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_edit.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_edit.png new file mode 100755 index 000000000..c3cfaa1fc Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_edit.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_file.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_file.png new file mode 100755 index 000000000..e17a67366 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_file.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format.png new file mode 100755 index 000000000..e468fcea6 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_align.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_align.png new file mode 100755 index 000000000..3909dee77 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_align.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_link_style.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_link_style.png new file mode 100755 index 000000000..19c5a4142 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_format_link_style.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_help.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_help.png new file mode 100755 index 000000000..983c5403e Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_help.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_simulation.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_simulation.png new file mode 100755 index 000000000..5f085bfa6 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_simulation.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_tools.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_tools.png new file mode 100755 index 000000000..5b95faed5 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_tools.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_view.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_view.png new file mode 100755 index 000000000..39531e6df Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_view.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_viewport.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_viewport.png new file mode 100755 index 000000000..f8d749399 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_menu_viewport.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_context_gui.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_context_gui.png new file mode 100755 index 000000000..7149bc157 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_context_gui.png differ diff --git a/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_simulation_parameters_gui.png b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_simulation_parameters_gui.png new file mode 100755 index 000000000..416ffc887 Binary files /dev/null and b/modules/xcos/help/gui/xcos_menu_entries/fr_FR/xcos_set_simulation_parameters_gui.png differ diff --git a/modules/xcos/help/images/Xcos_Debug.png b/modules/xcos/help/images/Xcos_Debug.png new file mode 100755 index 000000000..78911472c Binary files /dev/null and b/modules/xcos/help/images/Xcos_Debug.png differ diff --git a/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_left.gif b/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_left.gif new file mode 100755 index 000000000..0b1cccefe Binary files /dev/null and b/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_left.gif differ diff --git a/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_right.gif b/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_right.gif new file mode 100755 index 000000000..dd8ca7195 Binary files /dev/null and b/modules/xcos/help/images/palettes/integer_pal/shift_arithmetic_right.gif differ diff --git a/modules/xcos/help/images/palettes/integer_pal/shift_rotate_left.gif b/modules/xcos/help/images/palettes/integer_pal/shift_rotate_left.gif new file mode 100755 index 000000000..5e3f556da Binary files /dev/null and b/modules/xcos/help/images/palettes/integer_pal/shift_rotate_left.gif differ diff --git a/modules/xcos/help/images/palettes/integer_pal/shift_rotate_right.gif b/modules/xcos/help/images/palettes/integer_pal/shift_rotate_right.gif new file mode 100755 index 000000000..1250e4718 Binary files /dev/null and b/modules/xcos/help/images/palettes/integer_pal/shift_rotate_right.gif differ diff --git a/modules/xcos/help/images/palettes/sinks_pal/en_US/wfile_f_record_en_US.gif b/modules/xcos/help/images/palettes/sinks_pal/en_US/wfile_f_record_en_US.gif new file mode 100755 index 000000000..7307fe1c0 Binary files /dev/null and b/modules/xcos/help/images/palettes/sinks_pal/en_US/wfile_f_record_en_US.gif differ diff --git a/modules/xcos/help/images/palettes/sinks_pal/en_US/writec_f_record_en_US.gif b/modules/xcos/help/images/palettes/sinks_pal/en_US/writec_f_record_en_US.gif new file mode 100755 index 000000000..7f7846a60 Binary files /dev/null and b/modules/xcos/help/images/palettes/sinks_pal/en_US/writec_f_record_en_US.gif differ diff --git a/modules/xcos/help/images/palettes/sinks_pal/fr_FR/wfile_f_record_fr_FR.gif b/modules/xcos/help/images/palettes/sinks_pal/fr_FR/wfile_f_record_fr_FR.gif new file mode 100755 index 000000000..c55c8a906 Binary files /dev/null and b/modules/xcos/help/images/palettes/sinks_pal/fr_FR/wfile_f_record_fr_FR.gif differ diff --git a/modules/xcos/help/images/palettes/sinks_pal/fr_FR/writec_f_record_fr_FR.gif b/modules/xcos/help/images/palettes/sinks_pal/fr_FR/writec_f_record_fr_FR.gif new file mode 100755 index 000000000..06c4a761c Binary files /dev/null and b/modules/xcos/help/images/palettes/sinks_pal/fr_FR/writec_f_record_fr_FR.gif differ diff --git a/modules/xcos/help/images/palettes/sources_pal/en_US/rfile_f_record_en_US.gif b/modules/xcos/help/images/palettes/sources_pal/en_US/rfile_f_record_en_US.gif new file mode 100755 index 000000000..7f7846a60 Binary files /dev/null and b/modules/xcos/help/images/palettes/sources_pal/en_US/rfile_f_record_en_US.gif differ diff --git a/modules/xcos/help/images/palettes/sources_pal/fr_FR/rfile_f_record_fr_FR.gif b/modules/xcos/help/images/palettes/sources_pal/fr_FR/rfile_f_record_fr_FR.gif new file mode 100755 index 000000000..06c4a761c Binary files /dev/null and b/modules/xcos/help/images/palettes/sources_pal/fr_FR/rfile_f_record_fr_FR.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img12_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img12_en_US.gif new file mode 100755 index 000000000..80676ab27 Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img12_en_US.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img1_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img1_en_US.gif new file mode 100755 index 000000000..afd52306c Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img1_en_US.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img2_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img2_en_US.gif new file mode 100755 index 000000000..994a60705 Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img2_en_US.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img3_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img3_en_US.gif new file mode 100755 index 000000000..c3f20601c Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img3_en_US.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img4_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img4_en_US.gif new file mode 100755 index 000000000..df4d2fff9 Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img4_en_US.gif differ diff --git a/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img9_en_US.gif b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img9_en_US.gif new file mode 100755 index 000000000..e4dbc7d83 Binary files /dev/null and b/modules/xcos/help/images/programming_scicos_blocks/c_computational_functions/en_US/C_struct_img9_en_US.gif differ diff --git a/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_horizontal_en_US.png b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_horizontal_en_US.png new file mode 100755 index 000000000..964e0dff6 Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_horizontal_en_US.png differ diff --git a/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_straight_en_US.png b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_straight_en_US.png new file mode 100755 index 000000000..0059a8975 Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_straight_en_US.png differ diff --git a/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_vertical_en_US.png b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_vertical_en_US.png new file mode 100755 index 000000000..e292f087c Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/en_US/xcos_link_vertical_en_US.png differ diff --git a/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_horizontal_fr_FR.png b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_horizontal_fr_FR.png new file mode 100755 index 000000000..964e0dff6 Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_horizontal_fr_FR.png differ diff --git a/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_straight_fr_FR.png b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_straight_fr_FR.png new file mode 100755 index 000000000..0059a8975 Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_straight_fr_FR.png differ diff --git a/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_vertical_fr_FR.png b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_vertical_fr_FR.png new file mode 100755 index 000000000..e292f087c Binary files /dev/null and b/modules/xcos/help/images/xcos_menu_entries/fr_FR/xcos_link_vertical_fr_FR.png differ diff --git a/modules/xcos/help/ja_JP/addchapter.sce b/modules/xcos/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..4ed98e79a --- /dev/null +++ b/modules/xcos/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Xcos",SCI+"/modules/xcos/help/ja_JP",%T); + diff --git a/modules/xcos/help/ja_JP/batch_functions/CHAPTER b/modules/xcos/help/ja_JP/batch_functions/CHAPTER new file mode 100755 index 000000000..f8021342f --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/CHAPTER @@ -0,0 +1 @@ +title = Batch functions diff --git a/modules/xcos/help/ja_JP/batch_functions/lincos.xml b/modules/xcos/help/ja_JP/batch_functions/lincos.xml new file mode 100755 index 000000000..f97ce6c8d --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/lincos.xml @@ -0,0 +1,246 @@ + + + + + + + + + lincos + + + + Xcosダイアグラムにより記述された一般的な動的システムから + + 線形化により定義された線形状態空間モデル + + + + + + + + 呼び出し手順 + + sys = lincos(scs_m [,x0,u0 [,param] ]) + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + 説明 + + + + Xcosダイアグラムで指定されたモデルを線形化することにより + + 線形状態空間システムを構築します. + + この処理は,サブダイアグラム + + を線形状態空間モデルに変換するものです. + + サブダイアグラムは, 入力 および + + 出力を有している必要があります. + + + + + + 出力は,連続時間状態空間線形システム型のScilabデータ構造体です. + + + + + + + + + + + + + + + + パラメータ + + + + + + + + scs_m :xcosデータ構造体 + + + + + + + + + + x0 : 列ベクトル.連続時間状態変数で, + + この近傍で線形化が行われます (デフォルト: 0) + + + + + + + + + + u0 : 列ベクトル. + + 入力で,この近傍で線形化が行われます (デフォルト: 0) + + + + + + + + + + param : param: + + 2つの要素を有するリスト (デフォルト: list(1.d-6,0)). + + param(1): スカラー. 線形化用の擾乱の大きさ; 以下の変動が使用されます + + del([x;u])_i = param(1)+param(1)*1d-4*abs([x;u])_i. + + param(2): スカラー. 時刻 t. + + + + + + + + + + sys : 状態空間システム + + + + + + + + + + + + 参照 + + + + + + + + steadycos - + + xcosダイアグラムで記述された一般の動的システムの状態変数の定常値を見つけます + + (Scilab関数) + + + + + + + + + + + + scicos_simulate - + + xcosシミュレーションをバッチモードで実行する関数 (Scilab 関数) + + + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/scicos_simulate.xml b/modules/xcos/help/ja_JP/batch_functions/scicos_simulate.xml new file mode 100755 index 000000000..5dfd0faa5 --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/scicos_simulate.xml @@ -0,0 +1,300 @@ + + + + + + + + + scicos_simulate + + シミュレーションをバッチモードで実行する関数 + + + + + + 呼び出し手順 + + Info=scicos_simulate(scs_m) + + Info=scicos_simulate(scs_m,Info) + + Info=scicos_simulate(scs_m,context) + + Info=scicos_simulate(scs_m,flag) + + Info=scicos_simulate(scs_m ,Info [, context] [,flag]) + + + + + + 引数 + + + + + + scs_m: ダイアグラムデータ構造体 (scs_m 構造体参照). + + + + + + + + Info: リスト. + + 初回コール時はlist(),次回コール以降は + + Info出力をInfo入力として + + 指定してください. + + Infoにはコンパイルおよびシミュレーション関連情報 + + が含まれ,不要な再コンパイルを避けるために使用されます. + + + + + + + + ContextValues: + + Scilab構造体で,コンテキストおよびxcosブロックで使用されるシンボル変数の値を有します. + + + + + + + + flag: 文字列. + + 'nw' (no window)の場合, グラフィックウインドウを使用するブロックは実行されません. + + このようなブロックのリストは,新規ブロック追加時に更新する必要があることに注意してください. + + + + + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + 説明 + + + + この関数はバッチモードで xcos ダイアグラムをシミュレートする際に使用されます. + + この関数には,.zcosファイルをScilabにロードした際に + + 得られる scs_m構造体を指定します + + (importXcosDiagram参照). + + + + + + ContextValuesは,主ダイアグラムコンテキストで + + 設定される主要なパラメータの値を変更する際に使用することができます. + + 例: 変数 A がダイアグラムの主コンテキストで + + 1に設定された場合, A の値を + + scicos_simulate シミュレーション時に + + 以下のように設定することにより変更することができます. + + + + + + + + ContextValues引数を使用せずに + + Scilab内部で定義された変数を直接使用することも可能ですが, + + このような用途の場合,コンテキストの定義でこれが可能である + + ことが必要です: 例えば,パラメータAとして + + Scilab変数Aの値を + + 使用するシミュレーションを可能としたい場合, + + ダイアグラムコンテキストの定義に以下を記述する必要があります: + + + + この第二の手法は,Scilabで定義されたAのカレントの値に依存するという + + 弱点があることに注意してください. + + + + + + + + ファイルの内容 + + + + + + SCI/modules/scicos/macros/scicos_auto/scicos_simulate.sci + + + + + + + + + + + + + + xcos diagram は, + + SCI/modules/xcos/demos/batch_simulation.zcosにあります. + + + + + + + + + + + + + + + + + + + + 参照 + + + + + + scs_m構造体 + + + + + + importXcosDiagram + + + + + + scicosim: xcosバッチシミュレーション関数 + + + + + + xcos: ブロックダイアグラムエディタおよびハイブリッドシミュレータのGUI + + + + + + steadycos: xcosダイアグラムの定常値を求める + + + + + + lincos: xcosダイアグラムから線形状態空間モデルを線形化により構築 + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/scicosim.xml b/modules/xcos/help/ja_JP/batch_functions/scicosim.xml new file mode 100755 index 000000000..91468380f --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/scicosim.xml @@ -0,0 +1,148 @@ + + + + + scicosim + xcos (バッチ) シミュレーション関数 + + + 呼び出し手順 + [state,t] = scicosim(state,tcur,tf,sim,str,tol) + + + モジュール + + + + xcos + + + + + + 説明 + + コンパイル済みのxcosダイアグラム用のシミュレータ. + + + 通常,scicosimはダイアグラムのシミュレーションを実行する際にxcosによりコールされます. + + + しかし,scicosimはxcosの外でもコールすることができます. + このような使用法の典型的な例は,以下のようになります : + + + + + 上級ユーザは,パラメータまたは状態変数を"手動で"変更することができます. + + + + + + + パラメータ + + + + state : 状態変数の初期値を含む Scilab tlist. + 通常, xcosコンパイルにより生成されます. + コンパイル済みの.cosファイルがロードされた後は,%cpr.state から参照できます. + + + + + tcur : + シミュレーションの開始時間. + 開始時にはゼロにします. + + + + + tf : シミュレーションの終了時間. + + + + + sim : コンパイル結果を有するScilab tlist. + 通常は, xcos Compile により生成されます. + コンパイル済みの.cosファイルがロードされた後は,%cpr.sim から参照できます. + + + + + str : 'start' , 'run' または 'finish'. + 関数はまず 'start' を指定してコールされた後, + 1回または複数回 'run' を指定してコールされ,最後に 'finish' を指定してコールされます. + + + + + tol : + ベクトル [atol,rtol,ttol,deltat,realtimescale,solver,hmax] , + ただし, atol, rtol はそれぞれ ODEおよび DAEソルバの絶対および相対許容誤差で, + ttol はイベントの精度(非常に小さな数値とします), + deltat はODEソルバの各コールにおける最大積分間隔(ソルバのコールを強制的に再開することが + 必要となる場合があります), + realtimescale はシミュレーション時間と実時間の間の対応度 + (0は低速にしないことを意味します), solver は選択するソルバ + (0: lsodar, 100: daskr), hmax: ソルバにより使用される最大ステップの大きさです. + デフォルト: [0.0001,1.000E-06,1.000E-10,100001,0,0] + + + + + state : シミュレーション後の状態変数 + + + + + t: 最終的に到達した時間. + 通常は tf ですが, 常にそうなるわけではありません. + + + + + + 参照 + + + + scicos_simulate - + xcosシミュレーションをバッチモードで実行する関数 (Scilab 関数) + + + + + + xcos - + ハイブリッドシミュレータ用のブロックダイアグラムエディタおよびGUI (Scilab関数) + + + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/steadycos.xml b/modules/xcos/help/ja_JP/batch_functions/steadycos.xml new file mode 100755 index 000000000..cedb56341 --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/steadycos.xml @@ -0,0 +1,340 @@ + + + + + + + + + steadycos + + + + xcosダイアグラムで記述された一般の動的システムの状態変数の + + 定常値を見つける + + + + + + + + 呼び出し手順 + + [X,U,Y,XP]=steadycos(scs_m,X,U,Y,Indx,Indu,Indy [,Indxp [,param ] ]) + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + 説明 + + + + この関数は,xcosダイアグラムまたは + + サブダイアグラム + + により記述されたシステムの状態変数の定常値を見つけます. + + ダイアグラムは + + 入力 と 出力 + + を有している必要があります. + + 状態変数の定常値は連続時間ダイナミクスのみを考慮します. + + + + + + + + + + + + + + + + 引数 + + + + + + + + scs_m : xcosデータ構造体 + + + + + + + + + + X: 列ベクトル. 連続時間状態変数. + + 0の場合には [] を指定可能. + + + + + + + + + + U: 列ベクトル. 入力. 0の場合には [] を指定可能. + + + + + + + + + + Y: 列ベクトル. 出力. 0の場合には [] を指定可能. + + + + + + + + + + Indx : 固定しないXのエントリの添字. + + 全て変化する場合, 1:$ としてください: + + + + + + + + + + Indu : 固定しないUのエントリの添字. + + 全て変化する場合, 1:$ としてください + + + + + + + + + + Indy : 固定しないYのエントリの添字. + + 全て変化する場合, 1:$ としてください + + + + + + + + + + Indxp : ゼロにする必要がないXP (xの微係数))のエントリの添字. + + 全て変化する場合, 1:$ としてください. デフォルト: []. + + + + + + + + + + param : + + 2つの要素を有するリスト (デフォルト: list(1.d-6,0)). + + param(1): スカラー. 線形化用の擾乱の大きさ; 以下の変動が使用されます + + del([x;u])_i = param(1)+param(1)*1d-4*abs([x;u])_i. + + param(2): スカラー. 時刻 t. + + + + + + + + + + X: 状態変数 Xの定常値 + + + + + + + + + + U: 入力 Uの定常値 + + + + + + + + + + Y: 計算した定常状態に対応する出力 + + + + + + + + + + XP : 計算した定常状態に対応する状態変数の微係数 + + + + + + + + + + + + ファイルの内容 + + + + + + SCI/modules/scicos/macros/scicos_auto/steadycos.sci + + + + + + + + + + 参照 + + + + + + + + lincos - xcosダイアグラムで記述された一般の動的システムから線形化により線形状態空間モデルを構築する (Scilab 関数) + + + + + + + + + + scicos_simulate - xcosシミュレーションをバッチモードで実行する関数 (Scilab 関数) + + + + + + + + + + xcos - ブロックダイアグラムエディタおよびハイブリッドシミュレータのGUI (Scilab 関数) + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/xcosValidateBlockSet.xml b/modules/xcos/help/ja_JP/batch_functions/xcosValidateBlockSet.xml new file mode 100755 index 000000000..0bd132830 --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/xcosValidateBlockSet.xml @@ -0,0 +1,81 @@ + + + + xcosValidateBlockSet + Xcosブロックインターフェイス関数を検証する関数. + + + 呼び出し手順 + [status, message] = xcosValidateBlockSet(interfFunctionName) + + + 引数 + + + interfFunctionName: Xcos ブロックインターフェイス関数名. + + + + + + モジュール + + + + xcos + + + + + + 説明 + この関数は,ブロックインターフェイス関数がxcosシミュレーションプロセスにコールされた + 際にエラーを発生しないことを確認する際に使用されます. + + この関数は,defineに続いて xcosシミュレーションで行われるものと同様に + 指定したインターフェイス関数名にset ジョブを実行します. + この関数は,次の設定関数をオーバーライドします: getvalue, x_mdialog, ... + + + + ファイルの内容 + + + SCI/modules/xcos/macros/xcosValidateBlockSet.sci + + + + + + + + + + + 参照 + + + scs_m 構造体 + + + xcos: ハイブリッドシミュレータ用のブロック図ダイアグラムエディタ + およびGUI + + + + + + 履歴 + + + 5.4.0 + 関数 xcosValidateBlockSet を導入. + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/xcosValidateCompareBlock.xml b/modules/xcos/help/ja_JP/batch_functions/xcosValidateCompareBlock.xml new file mode 100755 index 000000000..4a33589b3 --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/xcosValidateCompareBlock.xml @@ -0,0 +1,84 @@ + + + + xcosValidateCompareBlock + 2つのXcosブロックを比較する関数. + + + 呼び出し手順 + [status, message] = xcosValidateCompareBlock(block1, block2) + + + 引数 + + + block1: Xcosブロック. + + + block2: Xcosブロック. + + + + + モジュール + + + + xcos + + + + + + 説明 + この関数は2つのブロックを比較する際に使用されます. + + この関数は,各ブロックのフィールドを調べて,2つの値を比較します. + この関数は2つのブロックが等しい場合にtrue,そうでない場合にfalseを返します. + message は等しくないフィールドに関する情報を有します. + + + + ファイルの内容 + + + SCI/modules/xcos/macros/xcosValidateCompareBlock.sci + + + + + + + + + + + 参照 + + + scs_m 構造体 + + + xcos: ハイブリッドシミュレータ用のブロック図ダイアグラムエディタ + およびGUI + + + + + + 履歴 + + + 5.4.0 + 関数 xcosValidateCompareBlock を導入. + + + + diff --git a/modules/xcos/help/ja_JP/batch_functions/xcos_simulate.xml b/modules/xcos/help/ja_JP/batch_functions/xcos_simulate.xml new file mode 100755 index 000000000..17ecb2455 --- /dev/null +++ b/modules/xcos/help/ja_JP/batch_functions/xcos_simulate.xml @@ -0,0 +1,254 @@ + + + + xcos_simulate + xcosシミュレーションをバッチモードで実行する関数 + + + 呼び出し手順 + Info=xcos_simulate(scs_m, needcompile) + + + 引数 + + + scs_m: ダイアグラムデータ構造体 (scs_m 構造体参照). + + + + needcompile: 整数. 4の場合, + シミュレータはダイアグラムの完全なコンパイルを実行します. + それ以外は, %cpr にキャッシュされた値を使用します. (古い仕様) + + + + + モジュール + + + + xcos + + + + + + 説明 + この関数は,xcosダイアグラムをバッチモードでシミュレートする際に + 使用されます. + この関数は,.zcosファイルをScilabに読み込むことにより + 得られるscs_m 構造体を必要とします + (importXcosDiagram参照). + + ユーザはシミュレーションの前に実行される + pre_xcos_simulateを定義することも可能です. + + この関数がエラーを発生した場合,エラーはトラップされ, + シミュレーションは破棄されます. + continueSimulation を false に設定した場合, + シミュレーションは停止します. + + + ユーザはシミュレーションの後に実行される + post_xcos_simulate関数を定義することも可能です. + + この関数がエラーを発生した場合,そのエラーはトラップされます. + + + + ファイルの内容 + + + SCI/modules/xcos/macros/xcos_simulate.sci + + + + + + + SCI/modules/xcos/demos/batch_simulation.zcosにある + xcosダイアグラム. + + + + + + このダイアグラムをバッチモードで実行し, + いくつかのコンテキスト値を変更します. + + + + pre_xcos_simulate関数を用いた + このダイアグラムの統計的な解析 + + + + xcosダイアグラム: SCI/modules/xcos/demos/Command.zcos + + + + + + このダイアグラムをバッチモードでシミュレートし, + post_xcos_simulateにより伝達関数のボード線図をプロットします, + + + + xcosダイアグラム: SCI/modules/xcos/demos/Command_bode.zcos + + + + + + このダイアグラムをバッチモードでシミュレートし, + post_xcos_simulateにより伝達関数のボード線図をプロットします, + + + + + 参照 + + + scs_m 構造体 + + + importXcosDiagram + + + scicosim: xcos バッチシミュレーション関数 + + + xcos: ハイブリッドシミュレータ用のブロックダイアグラムエディタ及びGUI + + + steadycos: xcosダイアグラムの定常状態を見つける + + + lincos: xcosダイアグラムから線形化により線形状態空間モデルを構築する + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Annotations_pal/AA_Annotations_pal.xml b/modules/xcos/help/ja_JP/palettes/Annotations_pal/AA_Annotations_pal.xml new file mode 100755 index 000000000..0cb09e7e3 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Annotations_pal/AA_Annotations_pal.xml @@ -0,0 +1,110 @@ + + + + + + + + + Annotations_pal + + アノテーションパレット + + + + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + 説明 + + このパレットは + + アノテーションで使用されるブロックを有します. + + + + + + + + ブロック + + + + + + + + TEXT_f - フリーアノテーション + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Annotations_pal/CHAPTER b/modules/xcos/help/ja_JP/palettes/Annotations_pal/CHAPTER new file mode 100755 index 000000000..76a2cbea3 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Annotations_pal/CHAPTER @@ -0,0 +1 @@ +title = Annotations palette diff --git a/modules/xcos/help/ja_JP/palettes/Annotations_pal/TEXT_f.xml b/modules/xcos/help/ja_JP/palettes/Annotations_pal/TEXT_f.xml new file mode 100755 index 000000000..17401c0ce --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Annotations_pal/TEXT_f.xml @@ -0,0 +1,521 @@ + + + + + + + + + TEXT_f + + フリーアノテーション + + + + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + 内容 + + + + + + + + フリーアノテーション + + + + + + + + + + + + + + パレット + + + + + + + + + + 説明 + + + + + + + + + + ダイアグラムボックス + + + + + + + + + + デフォルトプロパティ + + + + + + + + + + + + + + + + + + + + 参照 + + + + + + + + + + + + + + + + パレット + + + + + + + + アノテーションパレット + + + + + + + + + + + + 説明 + + + + このスペシャルブロックは, + + ダイアログウインドウの任意の点にテキストを追加する + + 際にのみ使用されます. + + シミュレーションには影響を与えません. + + k + + + + + ダイアグラムの空いている部分で + + マウスをダブルクリックすることにより + + このブロックを直接追加できます. + + + + + + 追加した後, ブロック上でダブルクリックし, + + テキストを書き込みます. + + テキストを制御(フォントの型, 大きさまたは色)したい場合, + + マウスを右クリックし, ポップアップメニューを表示します. + + Formatメニュー要素の + + サブメニュー要素Edit...を選択してください. + + これにより,以下のタブ付きのダイアログがオープンし, + + そこでテキストのパラメータを設定できます. + + + + + + 注意 : 以下のGUIはコメントテキストブロックおよびリンクの外観 + + を修正する際にも使用されます. + + + + + + + + ダイアログボックス + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + テキストタブ + + + + + + このタブでは, テキストおよび + + フォントの大きさ, 種類, スタイルのような + + 外観を修正できます. + + テキスト表示を制御するために + + いくつかのHTMLタグを使用することも可能です. + + Scilab 5.2以降, + + + + LaTeX または MathML + + 式を書き込むことも可能です. + + + + + + + + + + カラータブ + + + + + + これらのタブの使用法はテキスト, 境界, 色塗りと + + 同じです. + + 以下の4つの方法で色を設定できます: + + + + + + + + HSV 色 (色相, 彩度, 明度). + + + + + + RGB 色 (赤, 緑, 青). + + + + + + HTML 色: + + 2桁の3つの16進数の文字列(RRGGBB) + + の前に "#" を付けた形式の色. + + + + + + + + HSV 色ホイール : + + 円の周りのやや白い部分を移動し, + + 色相を設定, + + 小さな円を移動して,彩度と明度を設定. + + + + + + + + + + + + + + + + デフォルトのプロパティ + + + + + + + + 常にアクティブ: no + + + + + + + + + + 直達項: no + + + + + + + + + + ゼロ交差: no + + + + + + + + + + モード: no + + + + + + + + + + アクティベーション入力の数/大きさ: 0 + + + + + + + + + + アクティベーション出力の数/大きさ: 0 + + + + + + + + + + 連続時間状態量: no + + + + + + + + + + 離散時間状態量: no + + + + + + + + + + オブジェクト離散時間状態量: no + + + + + + + + + + 計算関数の名前: + + text + + + + + + + + + + + + + + + + 以下の図はテキストアノテーションの例を示します. + + 最初の例は,LaTeX式で得られた結果を表示し, + + 2番目の例のテキストはHTML番号付きリストです. + + + + Xcosでこの例をオープンし, + + + + Format を選択,ポップアップメニューの + + Edit... で + + テキストパラメータを変更してください. + + + + + + + + + + + + + + + + + + + + 参照 + + + + + + 数学レンダリング + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml new file mode 100755 index 000000000..784505385 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/AA_Commonlyusedblocks_pal.xml @@ -0,0 +1,477 @@ + + + + + + + + + Commonlyusedblocks_pal + + 共通して使用されるブロックパレット + + + + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Module + + + + + + + + xcos + + + + + + + + + + + + 説明 + + + + 共通して使用されるブロックパレットでは, + + 他のパレットから多くのモデルが使用する + + ブロックを見つけることができます. + + + + + + + + Blocks + + + + + + + + ANDBLK - アクティベーションand + + + + + + + + + + BIGSOM_f - 合計 + + + + + + + + + + CMSCOPE - マルチ表示スコープ + + + + + + + + + + CONST_m - 定数 + + + + + + + + + + CONVERT - データ型を変換 + + + + + + + + + + + + CSCOPXY - y=f(x) パーマネントビュア + + + + + + + + + + DEMUX - デマルチプレクサ + + + + + + + + + + DOLLAR_f - 遅延演算子 + + + + + + + + + + INTEGRAL_f - 積分 + + + + + + + + + + IN_f - 入力ポート + + + + + + + + + + LOGICAL_OP - 論理演算子 + + + + + + + + + + MUX - マルチプレクサ + + + + + + + + + + NRMSOM_f - データマージ + + + + + + + + + + OUT_f - 出力ポート + + + + + + + + + + PRODUCT - 積 + + + + + + + + + + RELATIONALOP — 関係演算 + + + + + + + + + + + + SATURATION - 飽和 + + + + + + + + + + SWITCH2_m - スイッチ2 + + + + + + + + + + TEXT_f - テキスト + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/CHAPTER b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/CHAPTER new file mode 100755 index 000000000..fd97b34f5 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/CHAPTER @@ -0,0 +1 @@ +title = Commonly used blocks palette diff --git a/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml new file mode 100755 index 000000000..b7630a41d --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/LOGICAL_OP.xml @@ -0,0 +1,455 @@ + + + + + + + + + LOGICAL_OP + + 論理演算子 + + + + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + 内容 + + + + + + + + 論理演算子 + + + + + + + + + + + + + + パレット + + + + + + + + + + 説明 + + + + + + + + + + ダイアログボックス + + + + + + + + + + デフォルトプロパティ + + + + + + + + + + インターフェイス関数 + + + + + + + + + + 計算関数 + + + + + + + + + + + + + + + + パレット + + + + + + + + 共通して使用されるブロックパレット + + + + + + + + + + + + 説明 + + + + 論理演算子ブロックは入力に指定された論理演算を実行します. + + 入力値は非ゼロの場合にTRUE (1), ゼロの場合に FALSE(0) となります. + + + + + + + + ダイアログボックス + + + + + + + + + + + + + + + + + + + + + + + + + + + + 入力の数 + + + + ブロック入力の数. 値は選択した演算子と整合する必要があります. + + プロパティ : 大きさ1の'vec'型 + + + + + + + + 演算子: AND + + + + ブロック入力に適用する論理演算子. 有効な選択肢はリストにある演算子です. + + プロパティ : 大きさ1の'vec'型 + + + + + + + + + + Default properties + + + + + + + + 常にアクティブ: no + + + + + + + + + + 直達項: yes + + + + + + + + + + ゼロ交差: no + + + + + + + + + + モード: no + + + + + + + + + + 標準入力: + + + + + + - ポート1 : 大きさ [-1,1] / 1型 + + + + + + - ポート 2 : 大きさ [-1,1] / 1型 + + + + + + + + + + 標準出力: + + + + + + - ポート 1 : 大きさ [-1,1] / 1型 + + + + + + + + + + アクティベーション入力の数/大きさ: 0 + + + + + + + + + + アクティベーション出力の数/大きさ: 0 + + + + + + + + + + 連続時間状態量: no + + + + + + + + + + 離散時間状態量: no + + + + + + + + + + オブジェクト離散時間状態量: no + + + + + + + + + + 計算関数の名前: + + logicalop + + + + + + + + + + + + インターフェイス関数 + + + + + + SCI/modules/scicos_blocks/macros/Misc/LOGICAL_OP.sci + + + + + + + + + + 計算関数 + + + + + + SCI/modules/scicos_blocks/src/c/logicalop.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_i32.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_i16.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_i8.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_ui32.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_ui16.c + + + + + + SCI/modules/scicos_blocks/src/c/logicalop_ui8.c + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml new file mode 100755 index 000000000..0a833d8da --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Commonlyusedblocks_pal/RELATIONALOP.xml @@ -0,0 +1,453 @@ + + + + + + + + + RELATIONALOP + + 関係演算子 + + + + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + 内容 + + + + + + + + 関係演算子 + + + + + + + + + + + + + + パレット + + + + + + + + + + 説明 + + + + + + + + + + ダイアログボックス + + + + + + + + + + デフォルトのプロパティ + + + + + + + + + + インターフェイス関数 + + + + + + + + + + 計算関数 + + + + + + + + + + + + + + + + パレット + + + + + + + + 共通して使用されるブロックパレット + + + + + + + + + + + + 説明 + + + + 2つの入力の論理比較を行います. + + + + + + + + ダイアログボックス + + + + + + + + + + + + + + + + + + + + + + + + + + + + 演算子: == + + + + 2つの入力の比較に使用される関係演算子を指定します. + + プロパティ : 大きさ1の'vec'型 + + + + + + + + ゼロ交差を使用 + + + + ゼロ交差検出の有効を選択. + + プロパティ : 大きさ1の'vec'型 + + + + + + + + + + デフォルトのプロパティ + + + + + + + + 常にアクティブ: no + + + + + + + + + + 直達項: yes + + + + + + + + + + ゼロ交差: no + + + + + + + + + + モード: no + + + + + + + + + + 標準入力: + + + + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + - ポート 2 : 大きさ [1,1] / 1型 + + + + + + + + + + 標準出力: + + + + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + + + + + アクティベーション入力の数/大きさ: 0 + + + + + + + + + + アクティベーション出力の数/大きさ: 0 + + + + + + + + + + 連続時間状態量: no + + + + + + + + + + 離散時間状態量: no + + + + + + + + + + オブジェクト離散時間状態量: no + + + + + + + + + + 計算関数の名前: + + relationalop + + + + + + + + + + + + インターフェイス関数 + + + + + + SCI/modules/scicos_blocks/macros/Misc/RELATIONALOP.sci + + + + + + + + + + 計算関数 + + + + + + SCI/modules/scicos_blocks/src/c/relational_op.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_i32.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_i16.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_i8.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_ui32.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_ui16.c + + + + + + SCI/modules/scicos_blocks/src/c/relational_op_ui8.c + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/AA_Continuous_pal.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/AA_Continuous_pal.xml new file mode 100755 index 000000000..5a5b736eb --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/AA_Continuous_pal.xml @@ -0,0 +1,162 @@ + + + + + Continuous_pal + 連続時間システムパレット + + + ブロックのスクリーンショット + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + モジュール + + + + xcos + + + + + + 説明 + + 連続時間システムパレットは,基本的な線形ブロックを有します. + + + + ブロック + + + + CLINDUMMY_f — Dummy + + + + + CLR — 連続系伝達関数 + + + + + CLSS - 連続系状態空間システム + + + + + DERIV - 微係数 + + + + + INTEGRAL_f - 積分 + + + + + INTEGRAL_m — 積分 + + + + + PID - PID レギュレータ + + + + + TCLSS — ジャンプを有する連続系線形システム + + + + + + TIME_DELAY - 時間遅延 + + + + + VARIABLE_DELAY — 可変遅延 + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/CHAPTER b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CHAPTER new file mode 100755 index 000000000..2b30115b3 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CHAPTER @@ -0,0 +1 @@ +title = Continuous time systems palette diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLINDUMMY_f.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLINDUMMY_f.xml new file mode 100755 index 000000000..719b523ed --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLINDUMMY_f.xml @@ -0,0 +1,157 @@ + + + + + CLINDUMMY_f + ダミー + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + ダミー + + + + + + + パレット + + + + + 説明 + + + + + デフォルトプロパティ + + + + + インターフェイス用関数 + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + 説明 + + このブロックは,ゼロ交差ブロックを有するが, + システムが連続系状態量を有さない場合, + 全てのブロックダイアグラムに配置する必要があります. + その理由は,ゼロ交差面を見つけるodeソルバです. + + + + デフォルトのプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + アクティベーション入力の数/大きさ: 0 + + + + + アクティベーション出力の数/大きさ: 0 + + + + + 連続時間状態量: yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: no + + + + + 計算用関数の名前: + cdummy + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/CLINDUMMY_f.sci + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLR.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLR.xml new file mode 100755 index 000000000..a10f133cd --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLR.xml @@ -0,0 +1,224 @@ + + + + + CLR + 連続系伝達関数 + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 連続系伝達関数 + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + インターフェイス用関数 + + + + + 計算用関数 + + + + + + + + Palette + + + + 連続時間系パレット + + + + + + 説明 + + このブロックは,有理伝達関数分子/分母 + で表されたSISO線形系を実現します. + 有理関数はプロパー + (分母の次数が分子の次数以下)である必要があります. + + + + ダイアログボックス + + + + + + + + + + + + + Numerator + + + このパラメータは伝達関数の分子を設定します. + + s の多項式を指定します. + プロパティ : 大きさ1の 'pol' 型. + + + + Denominator + + + このパラメータは伝達関数の分母を設定します. + + s の多項式を指定します. + プロパティ : 大きさ1の 'pol' 型. + + + + + デフォルトのプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + 標準出力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + アクティベーション入力の数/大きさ: 0 + + + + + アクティベーション出力の数/大きさ: 0 + + + + + 連続時間状態量: yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: no + + + + + 計算用関数の名前: + csslti4 + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/CLR.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLSS.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLSS.xml new file mode 100755 index 000000000..c4f587d90 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/CLSS.xml @@ -0,0 +1,388 @@ + + + + + CLSS + 連続系状態空間システム + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 連続系状態空間システム + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルト + プロパティ + + + + + + インターフェイス用 + 関数 + + + + + + 計算用関数 + + + + + + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + + 説明 + + このブロックは,連続時間線形状態空間システムを実現します. + + + + \begin{matrix} + \dot{x} = A \cdot x + B \cdot u \\ + y = C \cdot x + D \cdot u + \end{matrix} + + + + ただし,x は状態変数ベクトル, + u は入力関数ベクトル, + y 出力変数ベクトルです. + + + システムは, + (A, B, C, D) 行列と状態変数初期値 + X0で定義されます. + 次元は互換性を有する必要があります. + + + + ダイアログボックス + + + + + + + + + + + A 行列 + + 正方行列. + プロパティ : 大きさ [-1,-1]の'mat'型. + + + + B 行列 + + + B 行列, + システムが入力を有さない場合は [] . + + プロパティ : 大きさ ["size(%1,2)","-1"] の 'mat'型. + + + + C 行列 + + + C 行列 , + システムが入力を有さない場合は [] . + + プロパティ : 大きさ ["-1","size(%1,2)"] の 'mat'型. + + + + D 行列 + + + D 行列, + システムがD項を有さない場合は []. + + プロパティ : 大きさ [-1,-1] の 'mat'型. + + + + 状態変数初期値 + + 系のベクトル/スカラー状態変数初期値. + プロパティ : 大きさ "size(%1,2)" の 'vec'型. + + + + + デフォルトプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + 標準出力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + csslti4 + + + + + + + + このサンプル例は,出力波形をシミュレート/表示するための以下に示す + RLC回路y(t)=Vc(t)の + 出力波形をシミュレート/表示するCLSSブロックの使用法を説明します. + + + + + + + + + + RLC回路の方程式を以下に示します. + 結果はキルヒホッフの電圧則とニュートンの法則から得られます. + + + + + + R, L および C はシステムの抵抗, インダクタンスおよびキャパシタ + です. + + + キャパシタ電圧Vcとインダクタンス電流 + iLを状態変数 + X1 および X2として定義します. + + + + + つまり + + x_1 = i_L = C\frac{\mathrm{d} v_C }{\mathrm{d} t} = C\dot{x_2} + + これらの方程式を整理することにより,以下を得ます: + + + + これらの方程式は + 以下のような行列形式に変換できます, + + + + + 必要な出力方程式は + + + + 以下のダイアグラムはXcos上でモデル化されたこれらの方程式を示します. + ただし, + R=10Ω, L=5 mΗ and C=0.1µF; + 状態変数初期値は x1=0 および x2=0.5です. + + + 出力 Vc(t) を得るために,連続時間システムパレットから + CLSSブロックを使用します. + + + + + + + + + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/CLSS.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/csslti4.c (Type 4) + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/DERIV.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/DERIV.xml new file mode 100755 index 000000000..efe44bd31 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/DERIV.xml @@ -0,0 +1,229 @@ + + + + + DERIV + 微分 + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 微分 + + + + + + + パレット + + + + + 説明 + + + + + デフォルトプロパティ + + + + + + + + + + インターフェイス用関数 + + + + + 計算用関数 + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + + 説明 + + 微分ブロックは入力の時間tに関する微分を計算します. + + + $$ + y(t) = {u(t) - u(t-h)} over h + $$ + + + 微分ブロックには設定はなく,ブロックの出力初期値はゼロです. + + + + デフォルトプロパティ + + + + 常にアクティブ: no + + + + + 直達項: yes + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [-1,1] / + 1型 + + + + + + 標準出力: + + + - ポート 1 : 大きさ [-1,1] / + 1型 + + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + no + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + deriv + + + + + + + + この例では,振幅2,周波数 1.25Hzの + sin入力信号の微分波形を計算/表示します. + + + DERIVATIVEブロックの入力および出力波形を以下に示します: + + + + + + + + + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/DERIV.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/deriv.c (Type 4) + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_f.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_f.xml new file mode 100755 index 000000000..591c67501 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_f.xml @@ -0,0 +1,215 @@ + + + + + INTEGRAL_f + 積分 + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 積分 + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + + インターフェイス用関数 + + + + + + 計算用関数 + + + + + + + + + パレット + + + + 連続時間系パレット + + + + + + 説明 + このブロックは積分器です. 出力は入力の積分です. + + + + ダイアログボックス + + + + + + + + + + + + 初期条件 + + 初期条件を指定するスカラー. + プロパティ : 大きさ1の'vec'型. + + + + + デフォルトプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート1 : 大きさ [1,1] / 1型 + + + + + regular outputs: + + + - ポート1 : 大きさ [1,1] / 1型 + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + integr + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_f.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/fortran/integr.f (Type 0) + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_m.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_m.xml new file mode 100755 index 000000000..b4bb8e321 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/INTEGRAL_m.xml @@ -0,0 +1,352 @@ + + + + + INTEGRAL_m + 積分 + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 積分 + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + インターフェイス用関数 + + + + + 計算用関数 + + + + + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + + 説明 + + このブロックは積分器です. 出力yは,カレント時間ステップtにおける + 入力uの積分です. + + + + + + + + + ただし, y0 は初期条件, t0 は対応する時間です. + + + ダイアログボックス + + パラメータダイアログボックスにより以下を定義します: + + + + 初期条件における飽和リミット指定の有無. + + + + + 積分の下限および上限リミット. + + + + ダイアログボックスにより,指定した初期条件に + 状態変数をリセットするためのイベントポートをブロック + に追加できます. + + + "再初期化"を選択した場合, 以下が出力されます: + + + + + 積分される値は積分ブロックポート番号1に接続できます. + (積分ブロックの左上隅) + + + + + + + 赤で記されたトリガーポートに + トリガー信号を入力した際に積分が初期化される値は, + 積分ブロックポート番号2に接続できます(積分ブロックの左下隅のポート). + + + + + + + + + + + + + + + + 初期条件 + + ベクトル/スカラー初期条件. + + このパラメータにより,入力/出力のデータ型を定義できます. + 実数または複素数型とすることができます. + + プロパティ: 大きさ [-1,-1]の 'mat'型. + + + + 再初期化有りの場合 + + + 状態量を外部信号に基づき指定した初期条件にリセットする場合, + 1 を選択します. + + プロパティ : 大きさ1の'vec'型. + + + + 飽和有りの場合 + + + 選択された場合, 状態変数は + 下限飽和リミットおよび上限飽和リミットパラメータ + の間の値に制限されます. + + プロパティ : 大きさ1の'vec'型. + + + + 上限リミット + + 積分の上限リミット. + プロパティ : 大きさ[-1,-1]の'mat'型. + + + + 下限リミット + + 積分の下限リミット. + プロパティ : 大きさ[-1,-1]の'mat'型. + + + + + + デフォルトプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + 標準出力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + integral_func + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/INTEGRAL_m.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/integral_func.c + + + SCI/modules/scicos_blocks/src/c/integralz_func.c + + + + + + + 例1 + この例のモデルは積分器の状態ポートの使用例を示します. + + + 再初期化パラメータを1, 上限リミットを 1, 下限リミットを -1に設定します. + + + + + + + + + + + + + + 例2 + + + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/PID.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/PID.xml new file mode 100755 index 000000000..007cdb757 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/PID.xml @@ -0,0 +1,372 @@ + + + + + PID + PID レギュレータ + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + PID レギュレータ + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + + インターフェイス用関数 + + + + + コンパイル済みのスーパーブロックの内容 + + + + + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + + 説明 + + このブロックは PID (比例-積分-微分)制御器を実装します. + "誤差"の値 Ue は,観測されたプロセス変数 Upr とセットポイント指令値 Ur + の差から計算します. + + + + + + + + + + 制御目的は,プロセス変数 Up をセットポイント値 Urに追従させることです. + PID制御器は,工業プロセスのフィードバック制御において + 広く使用されています. + + + PID制御器の計算(アルゴリズム)には以下の3つのパラメータの値が含まれます; + 比例 Kp, 積分 Ki, 微分 Kd. + これらの項は,誤差信号Ueに適用する3種類の基本的な数学関数を + 記述します. + Kp はカレントの誤差への反応を定義, + Ki は最近の誤差の合計への反応を定義, + Kd は誤差の変化率への反応を定義します. + + + 制御バルブまたは加熱要素の供給電力のような制御要素を通じて + プロセスを調整するために, + これらの3種類の処理の重み付き加算が使用されます. + 従来のフィードバック制御系の基本構造を以下に示します: + + + + + + + + + + PID 則は入力変数 Up(t), その時間積分 Ui(t), その1階微分 Ud(t) の線形結合です. + 制御則 Ucon(t) は以下の形式を有します: + + + + + + + + + + + ダイアログボックス + + + + + + + + + + + + 比例 + + 誤差を乗じるゲインの値. + プロパティ : 大きさ-1の'vec'型. + + + + 積分 + + 誤差の積分時間の値.(1/Integral) + プロパティ : 大きさ -1 の'vec'型. + + + + 微分 + + 誤差の微分時間の値. + プロパティ : 大きさ-1の'vec'型. + + + + + デフォルトプロパティ + + + + 常にアクティブ: no + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [-1,-2] / 1型 + + + + + + 標準出力: + + + - ポート 1 : 大きさ [-1,-2] / 1型 + + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + no + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + csuper + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/PID.sci + + + + + コンパイル済みのスーパーブロックの内容 + + + + + + + + + + + + 例1 + + この例は,PIDレギュレータの使用例を示します. + この制御は,簡単に出力信号 Upr(t) を指令信号 Ur(t) に一致させます. + + + この例では,制御系は, + ダンピング係数 = 0.5, カットオフ周波数 fc = 100 Hzの + 2次の単位ゲインローパスフィルタです. + 伝達関数 H(s) を以下に示します: + + + + + + + + + + このフィルタをモデル化するには,連続時間システムパレットの + 連続系伝達関数ブロック (CLR)を使用します. + + PID パラメータ Kp, Ki および Kd を 100, 0.1 および 0に設定します. + + + + + + + + + スコープはシステム誤差 Ue (黒), + 基準信号 Ur (青) およびプロセス信号 Upr(赤) + の波形を表示します. + 最初,プロセス信号 Upr(t) が基準信号 Ur(t) に追従していないことが + わかります. + + + + + + + + + + + + + + 例2 + + + + + + + + + + + + + 例3 + + + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/TCLSS.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/TCLSS.xml new file mode 100755 index 000000000..d7a73db5a --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/TCLSS.xml @@ -0,0 +1,274 @@ + + + + + TCLSS + ジャンプ付き連続系線形システム + + + ブロックスクリーンショット + + + + + + + + + + 内容 + + + + ジャンプ付き連続系線形システム + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + インターフェイス用関数 + + + + + 計算用関数 + + + + + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + 説明 + + このブロックは,状態量のジャンプを含む連続時間線形状態空間 + システムを実現します.このブロックの入力の数は2つです. + 最初の入力は線形システムの標準入力で,2番目の入力はこのブロックの + 唯一のイベント入力ポートにイベントが発生した際に状態量にコピーされる + 状態量の新しい値を保持します. + これはシステムの状態量が(状態量の大きさに等しい)2番目の入力に現れる + 値にジャンプすることを意味します. + システムは,(A,B,C,D)行列と + 初期状態量 x_0により定義されます. + 次元は互換性を有する必要があります. + 入力/出力の大きさは自動的に調整されます. + + + + ダイアログボックス + + + + + + + + + + + + + 行列 + + + A 正方行列. + + プロパティ : 大きさ [-1,-1]の'mat'型. + + + + B 行列 + + + B 行列, システムが入力を有さない場合は []. + + プロパティ : 大きさ ["size(%1,2)","-1"] の 'mat'型. + + + + C 行列 + + + C 行列 ,システムが入力を有さない場合は []. + + プロパティ : 大きさ ["-1","size(%1,2)"] の 'mat'型. + + + + D 行列 + + + D 行列, システムが D項を有さない場合は []. + + プロパティ : 大きさ [-1,-1]の'mat'型. + + + + 状態量初期値 + + システムの状態量初期値ベクトル/スカラー. + プロパティ : 大きさ "size(%1,2)" の 'vec'型. + + + + + デフォルトプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + - ポート 2 : 大きさ [1,1] / 1型 + + + + + 標準出力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + アクティベーション入力の数/大きさ: 1 + + + + + アクティベーション出力の数/大きさ: 0 + + + + + 連続時間状態量: yes + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: no + + + + + 計算用関数の名前: + tcslti4 + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/TCLSS.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/tcslti4.c (Type 4) + + + + + + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/TIME_DELAY.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/TIME_DELAY.xml new file mode 100755 index 000000000..3b1a57461 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/TIME_DELAY.xml @@ -0,0 +1,254 @@ + + + + + TIME_DELAY + 時間遅延 + + + ブロックのスクリーンショット + + + + + + + + + + 内容 + + + + 時間遅延 + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + デフォルトプロパティ + + + + + インターフェイス用関数 + + + + + 計算用関数 + + + + + + + + + + + + + パレット + + + + 連続時間システムパレット + + + + + + 説明 + + 伝送遅延ブロックは指定した時間だけ入力を遅延させます. + このブロックは,時間遅延を模擬する際に使用できます. + シミュレーション開始時に,このブロックは, + シミュレーション時間が時間遅延パラメータを超え, + ブロックが遅延した入力の生成を開始するまでの間, + 初期値入力パラメータを出力します. + + + 時間遅延パラメータは非負とする必要があります. + + + + ダイアログボックス + + + + + + + + + + + + + 遅延 + + + 入力信号を出力に伝搬させる前に遅延させるシミュレーション時間の量. + 値は非負である必要があります. + + プロパティ : 大きさ1の 'vec'型 + + + + 初期入力 + + + シミュレーション開始時と時間遅延の間にブロックで生成される出力. + + プロパティ : 大きさ1の 'vec'型 + + + + バッファサイズ + + + 保存する点用に確保するメモリの初期値. + + プロパティ : 大きさ1の 'vec'型 + + + + + デフォルトプロパティ + + + + 常にアクティブ: no + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート1 : 大きさ [1,1] / 1型 + + + + + 標準出力: + + + - ポート1 : 大きさ [1,1] / 1型 + + + + + アクティベーション入力の数/大きさ: 0 + + + + + アクティベーション出力の数/大きさ: 0 + + + + + 連続時間状態量: no + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: no + + + + + 計算用関数の名前: + time_delay + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/TIME_DELAY.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/time_delay.c (Type 4) + + + + + + + + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/palettes/Continuous_pal/VARIABLE_DELAY.xml b/modules/xcos/help/ja_JP/palettes/Continuous_pal/VARIABLE_DELAY.xml new file mode 100755 index 000000000..c89204af3 --- /dev/null +++ b/modules/xcos/help/ja_JP/palettes/Continuous_pal/VARIABLE_DELAY.xml @@ -0,0 +1,305 @@ + + + + + VARIABLE_DELAY + 可変遅延 + + + ブロックスクリーンショット + + + + + + + + + + 内容 + + + + 可変遅延 + + + + + + + パレット + + + + + 説明 + + + + + ダイアログボックス + + + + + + デフォルト + プロパティ + + + + + + インターフェイス用関数 + + + + + + 計算用関数 + + + + + + + + + + + + + + Palette + + + + 連続時間システムパレット + + + + + + + 説明 + + 可変伝送遅延ブロックは,ある作用とその効果の間の可変時間遅延を + 模擬する際に使用できます. + このブロックは,例えば,パイプを有するシステムで, + パイプ内の流体をくみ上げるモータの速度が可変であるような場合に + 使用できます. + + + このブロックは2個の入力と1個の出力を受け付けます: + 最初の入力は信号 u(t) でブロックにより指定されます(データ入力); + 2番目の入力は可変時間遅延 τ(t)です. + + + + + + + + + + カレントの時間ステップtにおいて, このブロックは + 遅延されたデータ入力 u(θ) を出力します. + ただし,θはカレントのシミュレーション時間 t から + 時間遅延パラメータ τをひいたものです. + + 出力信号の方程式は以下のようになります: + + y(t) = y(θ) - u(t - τ(t)) + + + + ダイアログボックス + + + + + + + + + + + + 最大遅延 + + + 指定可能な時間遅延入力の最大値を定義します. + この値を負にすることはできません. + + プロパティ : 大きさ 1の'vec'型. + + + + 入力初期値 + + + 最初に時間遅延入力を超えるシミュレーション時間までに + ブロックにより生成される出力. + y(τ)に値が設定されない場合, + t0における入力初期値とy(τ)の間で線形近似が + 計算されます. + + プロパティ : 大きさ1の'vec'型. + + + + バッファの大きさ + + ブロックが保存できる点の数. + プロパティ: 大きさ1の'vec'型. + + + + + デフォルトプロパティ + + + + 常にアクティブ: yes + + + + + 直達項: no + + + + + ゼロ交差: no + + + + + モード: no + + + + + 標準入力: + + + - ポート1 : 大きさ [1,1] / 1型 + + + + - ポート 2 : 大きさ [1,1] / 1型 + + + + + + 標準出力: + + + - ポート 1 : 大きさ [1,1] / 1型 + + + + + + アクティベーション入力の数/大きさ: + + 0 + + + + + アクティベーション出力の数/大きさ: + + 0 + + + + + 連続時間状態量: + no + + + + + 離散時間状態量: no + + + + + オブジェクト離散時間状態量: + no + + + + + 計算用関数の名前: + variable_delay + + + + + + + + この例では, ブロックパラメータダイアログボックス内の + 最大時間遅延に 4を指定します. + 入力信号は振幅1,周波数0.2Hzのサイン波です. + + + 2秒の遅延を導入するために定数ブロックに2を指定します. + VARIABLE_DELAYブロックの入力および出力波形を以下に示します: + + + + + + + + + + + + + + + インターフェイス用関数 + + + SCI/modules/scicos_blocks/macros/Linear/VARIABLE_DELAY.sci + + + + + 計算用関数 + + + SCI/modules/scicos_blocks/src/c/variable_delay.c (4型) + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/blocks/CHAPTER b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/CHAPTER new file mode 100755 index 000000000..d1f089ba9 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/CHAPTER @@ -0,0 +1 @@ +title = Blocks diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_block.xml b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_block.xml new file mode 100755 index 000000000..220d5c23b --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_block.xml @@ -0,0 +1,120 @@ + + + + + scicos_block + ブロック構造を定義 + + + モジュール + + + + xcos + + + + + + block + + xcosブロックを定義する基本構造. + + + この構造には,graphics, model,guiおよびdocフィールドが含まれます. + + + + + + + 大きさ : 5. + + + 型 : scilab リスト. + + + + + + + graphics + + + 当該ブロックの機能に関するグラフィック情報を含むScilabオブジェクト. + + + 大きさ : 14. + + + 型 : scilab リスト. + + + + + model + + コンパイル時に使用されるブロックの機能を含むScilabリスト + + + 大きさ : 23. + + + 型 : Scilab リスト. + + + + + gui + + 当該ブロックに関係付けられたScilab GUI関数の名前. + + 大きさ : 1. + + + 型 : 文字列. + + + + + doc + + ブロックのドキュメントに使用されるフィールド + 大きさ : 1. + + + 型 : 文字列. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_block.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_graphics.xml b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_graphics.xml new file mode 100755 index 000000000..20b86d613 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_graphics.xml @@ -0,0 +1,681 @@ + + + + + + + + + scicos_graphics + + graphics構造体を定義 + + + + + + Module + + + + + + + + xcos + + + + + + + + + + + + graphics + + + + ブロックの機能に関するグラフィック情報を有するScilabオブジェクト. + + + + + + + + + + + + + + 大きさ : 14. + + + + + + 型 : scilabリスト. + + + + + + + + + + + + + + + + orig + + + + ベクトル [xo,yo], ただし, xo はブロック原点のx座標, + + yoはブロック原点のy座標です. + + + + + + [xo,yo] はブロック外形の左下の点の座標です. + + + + + + + + + + 大きさ : 2. + + + + + + 型 : 実数行ベクトル. + + + + + + + + + + sz + + + + ベクトル [w,h], ただし, w はブロックの幅,hはブロックの高さです. + + + + + + 大きさ : 2. + + + + + + 型 : 実数行ベクトル. + + + + + + + + + + flip + + + + ブロックの向きを設定します. trueの場合, + + 入力ポートがボックスの左側,出力ポートが右側となります. + + + + + + trueの場合, + + 入力ポートがボックスの左側,出力ポートが右側となります. + + falseの場合, + + 入力ポートがボックスの右側,出力ポートが左側となります. + + + + + + 大きさ : 1. + + + + + + 型 : 論理値. + + + + + + + + + + theta + + + + Scicosオブジェクトの角度を設定します. + + この値の単位は度で,[-360,360]の範囲です. + + + + 大きさ : 1. + + + + + + 型 : real. + + + + + + + + + + exprs + + + + ブロックのダイアログボックスで使用されるformal式を有する文字列. + + + + 大きさ : formal式の数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + pin + + + + ベクトル. pin(i) はi番目の標準入力ポートに接続された + + リンクの数(1から開始)です. このポートに接続されていない場合, 0となります. + + + + + + 大きさ : 標準入力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + pout + + + + ベクトル. pout(i) はi番目の標準出力ポートに接続された + + リンクの数(1から開始)です. このポートに接続されていない場合, 0となります. + + + + + + 大きさ : 標準出力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + pein + + + + ベクトル. pein(i) はi番目のイベント入力ポートに接続された + + リンクの数(1から開始)です. このポートに接続されていない場合, 0となります. + + + + + + 大きさ : イベント入力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + peout + + + + ベクトル. peout(i) はi番目のイベント出力ポートに接続された + + リンクの数(1から開始)です. このポートに接続されていない場合, 0となります. + + + + + + 大きさ : イベント出力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + gr_i + + + + + + ブロックのグラフィック表現をカスタマイズするScilabグラフィック式を + + 有する文字列.このフィールドはIcon sub_menuで設定できます. + + + + + + 大きさ : -. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + id + + + + ブロックのIDを有する文字列. この文字列はダイアグラムの + + ブロックの下に表示されます. + + + + + + 大きさ : 1. + + + + + + 型 : 文字列. + + + + + + + + + + in_implicit + + + + 'E'または'I'を要素とする文字列ベクトル. + + + + 'E' および 'I' はそれぞれ + + 陽的(explicit),陰的(implicit)を意味し,このベクトルは + + 各入力ポートの特性を示します. + + (陰的でない)標準ブロックの場合,このブロックは + + 空または"E"のみとなります. + + + + + + 大きさ : NULLまたは標準入力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + out_implicit + + + + 'E'または'I'を要素とする文字列ベクトル. + + 'E' および 'I' はそれぞれ + + 陽的(explicit),陰的(implicit)を意味し,このベクトルは + + 各出力ポートの特性を示します. + + (陰的でない)標準ブロックの場合,このブロックは + + 空または"E"のみとなります. + + + + + + 大きさ : NULLまたは標準出力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + in_style + + + + JGraphX キー/値形式プロパティを含む文字列ベクトル. + + + + これらのスタイルは, テキストを配置または + + ポートの外観(例: 丸み, 緑のポート)を変更する際に使用できます. + + セミコロンで区切った キー=値 の集合で設定します. + + 例えば, 丸く緑のポートの場合, + + "shape=ellipse;fillColor=green" + + + + + + 大きさ : ヌルまたは標準入力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + out_style + + + + JGraphX キー/値形式プロパティを含む文字列ベクトル. + + + + これらのスタイルは, テキストを配置または + + ポートの外観(例: 丸み, 緑のポート)を変更する際に使用できます. + + セミコロンで区切った キー=値 の集合で設定します. + + 例えば, 丸く緑のポートの場合, + + "shape=ellipse;fillColor=green" + + + + + + 大きさ : ヌルまたは標準出力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + in_label + + + + ポートラベルを含む文字列ベクトル. + + これらのラベルはテキストを更新または情報をトレースする際に使用できます. + + + + 大きさ : ヌルまたは標準入力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + out_label + + + + ポートラベルを含む文字列ベクトル. + + これらのラベルはテキストを更新または情報をトレースする際に使用できます. + + + + 大きさ : ヌルまたは標準出力ポートの数. + + + + + + 型 : 文字列の列ベクトル. + + + + + + + + + + style + + + + 文字列. + + JGraphX キー/値形式のプロパティを有する文字列ベクトル. + + + + これらのスタイルは,テキストを配置したり,ブロックの外観(例: 外形, 画像, テキスト) + + を変更する際に使用できます. + + セミコロンで区切った キー=値 の集合で設定します. + + 例えば, 丸く緑のブロックの場合, + + "shape=ellipse;fillColor=green" + + + + + + 大きさ : ヌルまたは 1. + + + + + + 型 : 文字列. + + + + + + + + + + + + ファイルの実体 + + + + + + SCI/modules/scicos/macros/scicos_scicos/scicos_graphics.sci + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_model.xml b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_model.xml new file mode 100755 index 000000000..3b95effc0 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/blocks/scicos_model.xml @@ -0,0 +1,1456 @@ + + + + + + + + + scicos_model + + モデルの構造を定義 + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + モデル + + + + コンパイル時に使用されるブロックの機能を有するScilabリスト. + + + + + + + + + + + + + + 大きさ : 23. + + + + + + 型 : Scilabリスト. + + + + + + + + + + + + + + + + sim + + + + + + 2つの要素を有するリスト.最初の要素は計算する関数((C, Fortran,または Scilab))の名前を有する文字列です.2番目の要素は計算する関数の型を指定する整数です. + + 現在,型4および5が使用されていますが,下位互換性を維持するためにより古い型も使用可能です. + + + + + + 過去のケースの中には, sim は文字列とすることができ,この場合typeは0と仮定されます. + + + + + + 大きさ : 2. + + + + + + 型 : Scilabリスト. + + + + + + + + + + in + + + + + + 標準入力ポートの最初の次元の数と大きさを指定するベクトル.添字は最上位から最下位. + + 入力ポートが存在しない場合 in==[] とします. + + + + + + 大きさは負,0または正とすることができます: + + + + + + + + + + 大きさが負の場合, コンパイラが適当な大きさを設定します. + + + + + + + + + + + + + + 大きさが0の場合,コンパイラは + + 当該ベクトルの正の大きさを加算した次元に変更します + + + + + + + + 大きさが正の場合,その大きさが明示的に指定されます. + + + + + + + + + + + + + + + + + + 大きさ : 標準入力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + in2 + + + + + + 標準入力ポートの2番目の次元を指定するベクトル.添字は最上位から最下位. + + + + + + in2が指定された場合,標準入力の大きさは行列となります. + + + + 互換性維持のため,この次元は空([])を指定することができます. + + + + これは入力ポートの次元を in,1 とすることを意味します. + + 大きさは負,0または正とすることができます: + + + + + + + + + + 大きさが負の場合,コンパイラが適当な大きさを設定します. + + + + + + + + + + + + + + 大きさが0の場合,コンパイラがベクトル内の正の大きさを + + 加算した次元に変更します. + + + + + + + + + + + + + + 大きさが正の場合,その大きさが明示的に使用されます. + + + + + + + + + + + + + + + + + + 大きさ : 標準入力ポートの数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + intyp + + + + 標準入力ポートの型を指定するベクトル. + + 大きさはinの大きさと同じです. + + 標準入力ポートの型は以下のどれかとします : + + + + + + + + + + 1 実数行列, + + + + + + + + 2 複素行列, + + + + + + + + 3 int32 行列, + + + + + + + + 4 int16 行列, + + + + + + + + 5 int8 行列, + + + + + + + + 6 uint32 行列, + + + + + + + + 7 uint16 行列, + + + + + + + + 8 uint8 行列. + + + + + + + + + + + + + + + + + + 大きさ : 標準入力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + out + + + + + + 標準出力ポートの最初の次元の数と大きさを指定するベクトルで, + + ブロックの上から下方向に添字がふられます. + + 出力ポートがない場合, out == [] となります. + + + + + + 大きさ(size)は負,ゼロまたは正とすることができます: + + + + + + + + + + + + ある大きさが負の場合, コンパイラが適当な大きさを指定します. + + + + + + + + + + + + + + + + ある大きさがゼロの場合, コンパイラが + + このベクトルに存在する + + 大きさが正の要素を加算したものに修正します. + + + + + + + + ある大きさが正の場合,その大きさが + + 明示的に指定されます. + + + + + + + + + + + + + + + + + + 大きさ : 標準出力ポートの数. + + + + + + 型: 整数列ベクトル. + + + + + + + + + + out2 + + + + + + 通常の出力ポートの2番目の次元を指定するベクトルで,ブロックの最上位から最下位に添字が付けられます. + + + + + + out2が作成されて出力された後, + + 通常の出力の大きさを表す行列が作成されます. + + + + 互換性のため, この次元は空 ([]) のままとすることも可能です. + + これは,出力ポートの次元が out,1 となることを意味します. + + この次元を負,ゼロまたは正とすることが可能です: + + + + + + + + + + + + ある大きさ負の場合, コンパイラは適当な大きさを見つけようとします. + + + + + + + + + + + + + + + + ある大きさがゼロの場合, コンパイラは + + このベクトルにあった全ての正の大きさを加算したもので + + この次元を更新します. + + + + + + + + + + + + + + + + サイズがゼロより大きい場合, サイズは明示的に指定されています. + + + + + + + + + + + + + + + + + + 大きさ : 標準出力ポートの数. + + + + + + 型 : 整数列ベクトル. + + + + + + + + + + outtyp + + + + 標準出力ポートの型を指定するベクトル. + + 大きさは出力サイズに等しくなります. + + 標準出力ポートの型は以下のいずれかとなります : + + + + + + + + + + 1 実数行列, + + + + + + + + 2 複素数行列, + + + + + + + + 3 int32 行列, + + + + + + + + 4 int16 行列, + + + + + + + + 5 int8 行列, + + + + + + + + 6 uint32 行列, + + + + + + + + 7 uint16 行列, + + + + + + + + 8 uint8 行列. + + + + + + + + + + + + + + + + + + 大きさ : 標準出力ポートの数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + evtin + + + + + + アクティベーション入力の数と大きさを指定するベクトル. + + 現在,アクティベーションポートは大きさ1に限定されています. + + + + イベント入力ポートが存在しない場合, evtin を [] とする + + 必要があります. + + + + + + 大きさ : 入力イベントポートの数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + evtout + + + + アクティベーション出力の数と大きさを指定するベクトル. + + 現在,アクティベーションポートは大きさ1に限定されています. + + イベント出力ポートが存在しない場合, evtout を [] とする必要があります. + + + + + + 大きさ : 出力イベントポートの数. + + + + + + 型 : 整数の列ベクトル + + + + + + + + + + state + + + + 連続時間状態量の初期値を有するベクトル. + + 連続時間状態量がない場合, [] とする必要があります. + + + + 大きさ : 連続時間状態量の数. + + + + + + 型 : 実数の列ベクトル. + + + + + + + + + + dstate + + + + 離散時間状態量の初期値を有するベクトル. + + 離散状態量がない場合, [] とする必要があります. + + + + 大きさ : 離散時間状態量の数. + + + + + + 型 : 実数の列ベクトル. + + + + + + + + + + odstate + + + + オブジェクト状態量の初期値を有するリスト. + + オブジェクト状態量がない場合, list() を指定します. + + + + オブジェクト状態量は任意の型のScilab変数とすることができます. + + + + + + 4型 (Cブロック)の計算用関数の場合, + + 実数, 複素数, int32, int16 ,int8 ,uint32, uit16 および uint8 + + の行列を含む要素のみが正しく読み書きされます. + + + + + + + + + + 大きさ : オブジェクト状態の数. + + + + + + 型 : scilabオブジェクトのscilabリスト. + + + + + + + + + + rpar + + + + 浮動小数点ブロックパラメータのベクトル. + + 浮動小数点パラメータがない場合は [] を指定します. + + + + 大きさ : 実数パラメータの数. + + + + + + 型 : 実数の列ベクトル. + + + + + + + + + + ipar + + + + 整数ブロックパラメータのベクトル. + + 整数パラメータがない場合は [] を指定します. + + + + 大きさ : 整数パラメータの数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + opar + + + + オブジェクトブロックパラメータのリスト. オブジェクトパラメータがない場合, list() を指定します. + + + + + + オブジェクトパラメータは任意のscilab変数とすることができます. + + + + + + 4型 (Cブロック)の計算用関数の場合, + + 実数, 複素数, int32, int16 ,int8 ,uint32, uit16 および uint8 + + の行列を含む要素のみが正しく読み込みされます. + + + + + + + + + + 大きさ : オブジェクトパラメータの数. + + + + + + 型 : scilabオブジェクトのリスト. + + + + + + + + + + blocktype + + + + + + 標準ブロックの場合,文字 'c' または 'd' を指定できます. + + シミュレーション時にコールされる計算用関数として指定する場合は, + + このブロックが状態量の微係数の計算に寄与しない場合でも,'x' を使用します. + + + + 'l', 'm' および 's' は予約されており,使用できません. + + + + 大きさ : 1. + + + + + + 型 : 文字. + + + + + + + + + + firing + + + + + + アクティベーション出力ポート(evout参照)の数と等しい大きさの + + 初期化イベントの起動時間のベクトル. + + 出力初期化イベント(何らかの入力イベントが発生する前に生成されたイベント)の日付を有します. + + 負の値は対応するポートに初期化イベントが設定されないことを意味します. + + + + + + 大きさ : 出力イベントポートの数. + + + + + + 型 : 実数の列ベクトル. + + + + + + + + + + dep_ut + + + + 論理値ベクトル [dep_u, dep_t]. + + + + + + + + + + + + + + dep_t + + + + + + ブロックが常にアクティブな場合に true. + + + + + + 出力は時間の連続性に依存します. + + 例えば, GENSIN_f ブロックはy=sin(t)を計算するため, + + dep_ut=[%f %t]. + + + + + + + + + + dep_u + + + + + + ブロックが直達項を有する, + + つまり,少なくとも1つの出力が(状態量を通じてではなく)直接入力に依存している, + + 場合にtrue. + + 言い換えると,計算用関数がフラグ1を指定してコールされた場合, + + ある入力の値は出力の計算に使用されます. + + 例えば, SUM_f ブロックは y=u1+u2 を計算するため, + + dep_ut=[%t %f]. + + + + + + + + + + + + + + + + + + 大きさ : 2. + + + + + + 型 : 論理値ベクトル. + + + + + + + + + + label + + + + + + ラベルを定義する文字列. + + シミュレーション時にパラメータにアクセスまたは修正する際に特定のブロックを指定するために + + 使用できます. + + + + + + 大きさ : 1. + + + + + + 型 : 文字列. + + + + + + + + + + nzcross + + + + ゼロと交差する面の数. + + + + 大きさ : ゼロと交差する面の数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + nmode + + + + + + モードレジスタの長さ.これはベクトルモードの大きさを指定するもので, + + ブロックが動作可能なモードの総数ではないことに注意してください. + + あるブロックが3個のモードを有し,各モードが2つの値をとることができると, + + このブロックは最大 2^3=8個のモードを有します. + + + + + + 大きさ : モードの数. + + + + + + 型 : 整数の列ベクトル. + + + + + + + + + + equations + + + + 陰的なブロックで使用される. + + + + modelicaコードの説明を有するmodelica型のデータ構造体. + + このリストは以下の4個のエントリを有します: + + + + + + + + + + + + model + + + + + + modelica関数を有するファイルの名前を指定する文字列. + + + + + + + + + + + + + + + + inputs + + + + + + 入力として使用されるmodelica変数の名前を有する文字列の列ベクトル. + + + + + + + + + + + + + + + + outputs + + + + + + 出力として使用されるmodelica変数の名前を有する文字列の列ベクトル. + + + + + + + + + + + + + + + + parameters + + + + + + 2個のエントリのリスト. 最初のエントリはパラメータとして使用されるmodelica変数の + + 名前の文字列のベクトル,2番目のエントリはパラメータの値を有するリストです. + + + + + + パラメータとしても使用できるmodelica状態量の名前. + + この場合,パラメータと状態量を区別するために + + 3番目のエントリが使用されます. + + + + + + 例 : + + mo.parameters=list(['C','v'],list(C,v),[0,1]) + + は,'C' が 値Cの parameter(0) , 'v'が初期値vの + + state(1)であることを意味します. + + + + + + + + + + + + + + + + + + 大きさ : 5. + + + + + + 型 : scilabリスト. + + + + + + + + + + uid + + + + + + ブロックの文字列のユニークなID (ホストあたり 2^16) + + + + + + このIDは, Xcos GUIでのみ設定されます. + + ブロック作成時に特定の値を設定するには, + + 以下のコードを使用します : + + + + + jimport("java.rmi.server.UID"); + + juid = jnewInstance("java.rmi.server.UID"); + + uid = juid.toString() + + + + + + 大きさ : 1x1. + + + + + + 型 : 文字列. + + + + + + + + + + + + ファイルの実体 + + + + + + SCI/modules/scicos/macros/scicos_scicos/scicos_model.sci + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/CHAPTER b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/CHAPTER new file mode 100755 index 000000000..ffdb52716 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/CHAPTER @@ -0,0 +1 @@ +title = Compilation/Simulation diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_cpr.xml b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_cpr.xml new file mode 100755 index 000000000..e5701abd0 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_cpr.xml @@ -0,0 +1,129 @@ + + + + + scicos_cpr + コンパイル済みのScicos構造体 + + + モジュール + + + + xcos + + + + + + cpr + + このScilabオブジェクトcprはコンパイルの結果を保持します. + + + この構造体はフィールド state, sim, + cor および corinvを有します. + + + + + + + 大きさ : 5. + + + 型 : scilabリスト. + + + + + + + state + + xcs型のScilab型指定リスト(tlist). + モデルの全ての状態量,すなわち, + シミュレーション中に変化できる全ての量,を有します. + + state は x, z, oz, iz, tevts, evtspt, pointi および outtbを保持します. + + 大きさ : 9. + + + 型 : scilab tlist. + + + + + sim + + scs型のScilab型指定リスト(tlist). + コンパイル結果に基づく静的配列を保持します. + この配列はシミュレーション中に変化しません. + + + 大きさ : 33. + + + 型 : scilab tlist. + + + + + cor + + + scs_mと同様の再帰的な構造体を有するリストです. + 各葉は,simデータ構造体の関連するブロックの添字を保持します. + 大きさ : scs_m の中のオブジェクトの数. + + + 型 : scilab list. + + + + + corinv + + corinv(i) は,scs_mデータ構造体の中のsimデータ構造体で定義された + i番目のブロックのパスです. + + + 大きさ : コンパイル済みの構造体におけるブロックの数. + + + 型 : scilab list. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_cpr.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_sim.xml b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_sim.xml new file mode 100755 index 000000000..0a2a9d6f5 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_sim.xml @@ -0,0 +1,553 @@ + + + + + scicos_sim + sim構造体の定義 + + + モジュール + + + + xcos + + + + + + sim + + scs型のScilab型指定リスト(tlist). + コンパイル結果に基づく静的配列を保持します. + この配列はシミュレーション中に変更されません. + + + + + + + 大きさ : 33. + + + 型 : scilab tlist. + + + + + + + funs + + + 計算用関数またはscilab関数の名前を保持するリスト. + + + 大きさ : ブロック数. + + + 型 : 文字列またはscilab関数のリスト. + + + + + xptr + + + 連続時間状態量レジスタxへのベクトルポインタ. + ブロックiの連続時間状態量は, + state.x(sim.xptr(i):sim.xptr(i+1)-1) です. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + zptr + + + 離散時間状態量レジスタzへのベクトルポインタ. + ブロックiの離散時間状態量は, + state.z(sim.zptr(i):sim.zptr(i+1)-1) です. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + ozptr + + + オブジェクト離散状態量レジスタozへのベクトルポインタ. + ブロックiのオブジェクト離散状態量は, + state.oz(sim.ozptr(i):sim.ozptr(i+1)-1) です. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + zcptr + + ゼロ交差面へのベクトルポインタ. + レジスタ. このベクトルは,ブロック毎のゼロ交差の使用数を指定します. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + inpptr + + (sim.inpptr(i+1)-sim.inpptr(i)) + は,i番目のブロックの標準入力ポートの数を指定します. + + + inpptr(i) は,間接参照テーブルinplnkの中の + i番目のブロックの入力の先頭を指します. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + outptr + + (sim.outptr(i+1)-sim.outptr(i)) は, + i番目のブロックの標準出力ポートの数を指定します. + + outptr(i) は, + 間接参照テーブルoutlnkの中の + i番目のブロックの出力の先頭を指します. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + inplnk + + (cpr.sim.inplnk(cpr.sim.inpptr(i)-1+j)) は, + i番目のブロックのj番目の入力ポートに接続された + リンクの添字です. + ただし,jは1から(cpr.sim.inpptr(i+1)-cpr.sim.inpptr(i))の範囲です. + + + 大きさ : 標準入力ポートの総数. + + + 型 : 整数の列ベクトル. + + + + + outlnk + + (cpr.sim.outlnk(cpr.sim.outptr(i)-1+j)) は, + i番目のブロックのj番目の出力ポートに接続された + リンクの添字です. + ただし,jは1から(cpr.sim.outptr(i+1)-cpr.sim.outptr(i)) の範囲です. + + + 大きさ : 標準出力ポートの総数. + + + 型 : 整数の列ベクトル. + + + + + rpar + + + 全ブロックの実数パラメータレジスタの結合により得られた + 実数パラメータのベクトル + + + 大きさ : 実数パラメータの総数. + + + 型 : 実数の列ベクトル. + + + + + rpptr + + + 実数パラメータレジスタrparへのベクトルポインタ. + ブロックiの実数パラメータは, + sim.rpar(sim.rpptr(i):sim.rpptr(i+1)-1) です. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + ipar + + + 全てのブロックの整数パラメータレジスタの結合により得られた + 整数パラメータのベクトル. + + + 大きさ : 整数パラメータの総数. + + + 型 : 整数の列ベクトル. + + + + + ipptr + + + 整数パラメータレジスタiparを指すベクトルポインタ. + ブロックiの整数パラメータは, + sim.ipar(sim.ipptr(i):sim.ipptr(i+1)-1)です. + + + 大きさ : ブロック数 + 1. + + + 型 : 実数の列ベクトル. + + + + + opar + + + 全てのブロックのオブジェクトパラメータのリストの結合により得られた + オブジェクトパラメータのリスト. + + + 大きさ : オブジェクトパラメータの総数. + + + 型 : scilabオブジェクトのリスト. + + + + + opptr + + + オブジェクトパラメータのリストoparを指すベクトルポインタ. + ブロックiのオブジェクトパラメータは, + sim.opar(sim.opptr(i):sim.opptr(i+1)-1) です. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + clkptr + + + 出力アクティベーションポートを指すベクトルポインタ. + + (cpr.sim.clkptr(i):cpr.sim.clkptr(i+1)-1) は + ブロックiの出力イベントポートの数を指定します. + + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + ordptr + + + 指定したアクティベーションに対応するordclkの場所を指定する + ordclkへのベクトルポインタ. + + (cpr.sim.ordptr(i):cpr.sim.ordptr(i+1)-1) は, + 番号iの出力イベントポートによりアクティブとなるブロックの数を示す + ordclk内の範囲を指します. + + + 大きさ : アクティベーションのソースの数 + 1. + + + 型 : 整数の列ベクトル. + + + + + execlk + + 不使用. + + 大きさ : - + 型 : 実数の行列. + + + + + ordclk + + + 出力アクティベーションポートによりアクティブ化されたブロックに関連付けられた + 行列. 最初の列はブロック番号,2列目はブロックがコールされた際のイベントコードを有します. + + + 大きさ : アクティベーションのソースを合計したブロックの総数. + + + 型 : 整数行列. + + + + + cord + + 常にアクティブなブロックに関連付けられた行列. + + 最初の列はブロック番号,2列目はブロックがコールされた際のイベントコードを有します. + + + 大きさ : ncord. + + + 型 : 整数行列. + + + + + oord + + cordのサブセット. + 連続系状態量の微係数の計算に作用する出力を有する行列のブロック. + + + 大きさ : noord. + + + 型 : 整数行列. + + + + + zord + + zordのサブセット. + ゼロ交差面の計算に作用する出力を有する行列のブロック. + + + 大きさ : nzord. + + + 型 : 整数行列. + + + + + critev + + + アクティベーションの数と同じ大きさのベクトルで,その値は0または1です. + 値1は, + 連続時間ソルバーをコールドスタートする必要があるという意味で, + アクティベーションがクリティカルであることを示します. + + + 大きさ : アクティベーションのソースの数. + + + 型 : 整数の列ベクトル. + + + + + nb + + + ブロックの数. + このブロック数は, + c_pass2がいくつかの条件ブロックで二重化される可能性があるため, + ダイアグラムの元のブロック数と異なる可能性があることに注意してください. + + + 大きさ : 1. + + + 型 : 整数. + + + + + ztyp + + ブロック数と同じ大きさのベクトル. + + エントリ1は, + ダイアグラムのコンテキストに現れないとしても, + このブロックがゼロ交差する可能性があることを示します. + 通常,シミュレータでは使用されません. + + + 大きさ : ブロック数. + + + 型 : 整数の列ベクトル. + + + + + nblk + + 非使用. nbに設定. + + 大きさ : 1 + 型 : 整数. + + + + + ndcblk + + 非使用. + + 大きさ : - + 型 : 整数. + + + + + subscr + + 非使用. + + 大きさ : 0 + 型 : empty real. + + + + + funtyp + + + ブロックの計算用関数の型を示すブロックの数と同じ大きさのベクトル. + ブロック型は 0 から 5の範囲です. + + + 現在では,4型 (C言語) および5型(Scilab言語)の計算用関数のみを使用することが + 規定されています.しかし,古いブロックも使用できます. + + + 大きさ : ブロック数. + + + 型 : 整数列ベクトル. + + + + + iord + + + シミュレーションの開始時にアクティブ化されるブロックに関連付けられた行列. + この行列は,定数ブロックおよび常にアクティブなブロックから継承した + ブロックを有します. + + + 大きさ : niord. + + + 型 : 整数行列. + + + + + labels + + + ブロックのラベルを保持するブロックの数と同じ大きさの文字列ベクトル. + + + 大きさ : ブロック数. + + + 型 : 文字列の列ベクトル. + + + + + modptr + + ブロックモードへのベクトルポインタ. + + 大きさ : ブロック数 + 1. + + + 型 : 整数の列ベクトル. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_sim.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_state.xml b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_state.xml new file mode 100755 index 000000000..f25657cff --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/compilation_simulation/scicos_state.xml @@ -0,0 +1,188 @@ + + + + + scicos_state + state構造体の定義 + + + モジュール + + + + xcos + + + + + + state + + xcs型のScilab型指定リスト(tlist). + モデルの全ての状態量,つまり,シミュレーション中に変化する全ての量を + 保持します. + + + state は x, z, oz, iz, + tevts, evtspt, pointi および outtbを含みます. + + + + + + + 大きさ : 9. + + + 型 : scilab tlist. + + + + + + + x + + + 連続時間状態レジスタで, 全てのブロックの連続時間状態量の結合により得られます. + + + 大きさ : 連続時間状態レジスタの大きさの総数. + + + 型 : 実数の列ベクトル. + + + + + z + + + 離散時間状態レジスタで, 全てのブロックの離散時間状態量の結合により得られます. + + + 大きさ : 離散時間状態レジスタの大きさの総数. + + + 型 : 実数の列ベクトル. + + + + + oz + + + オブジェクト離散時間状態量で, 全てのブロックのオブジェクト離散時間状態量の結合に + より得られます. + + + 大きさ : オブジェクト状態量の大きさの総数. + + + 型 : scilabオブジェクトのリスト. + + + + + iz + + ブロック数と同じ大きさのベクトル. + + 作業用状態レジスタ(work)のポインタを保持するために使用されるベクトル. + あるブロックが初期化時にメモリを確保する必要がある場合(フラグ 4), + 関連するポインタがここに保存されます. + + + 大きさ : ブロック数. + + + 型 : 実数の列ベクトル. + + + + + tevts + + アクティベーションソースの数と同じ大きさのベクトル. + evtsptで計画されるアクティベーションの予定時刻を有します. + + + 大きさ : アクティベーションソースの数. + + + 型 : 整数の列ベクトル. + + + + + evtspt + + + アクティベーションソースの数と同じ大きさのベクトル. + イベントスケジューラです. + + + 大きさ : アクティベーションソースの数. + + + 型 : 整数の列ベクトル. + + + + + pointi + + 次に計画されるイベントの番号. + + 大きさ : 1. + + + 型 : 整数 . + + + + + outtb + + ブロックの全て出力レジスタを含むScilab リスト. + この要素の各要素は,型指定の行列データを有します. + + + 大きさ : 標準出力ポートの数. + + + 型 : scilab行列のリスト. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_state.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/diagram/CHAPTER b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/CHAPTER new file mode 100755 index 000000000..87a5ba36c --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/CHAPTER @@ -0,0 +1 @@ +title = Diagram diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_diagram.xml b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_diagram.xml new file mode 100755 index 000000000..c4dcaabb3 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_diagram.xml @@ -0,0 +1,121 @@ + + + + + scicos_diagram + scs_m構造体の定義 + + + モジュール + + + + xcos + + + + + + diagram + + 大きさ : 4. + + + 型 : scilabリスト. + + + + + + + props + + ダイアグラムのプロパティ. + + このエントリは, + メインダイアグラムの初期値のような種々の情報を有します. + + + この変数はtypeのtlistで, + wpar, title, tol, tf, context, + options および docを有します. + + + + + 大きさ: 11. + + + 型: typeのScilab tlist . + + + + + objs + + Xcosダイアグラムに含まれるオブジェクトのリスト. + + Xcosで使用されるオブジェクトは block, + link およびテキストです. + + オブジェクトはオブジェクトデータ構造体を削除することもできます. + + 削除されたオブジェクトデータ構造体は list('Deleted') とマークされます. + + 大きさ : ダイアグラムにおけるオブジェクトの総数. + + + 型 : typeのScilab tlist, またはテキスト. + + + + + version + + Xcosダイアグラムのバージョンを指定する文字列. + 古いダイアグラムとの互換性を維持するために使用されます. + + + ヘルプメニューの'Xcosについて'エントリまたは + 関数get_scicos_version()により, + 現在のXcosのバージョンを取得できます. + + + 大きさ : 1. + + + 型 : 文字列. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_diagram.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_params.xml b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_params.xml new file mode 100755 index 000000000..ed4c3a34c --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/diagram/scicos_params.xml @@ -0,0 +1,383 @@ + + + + + scicos_params + param構造体の定義 + + + モジュール + + + + xcos + + + + + + params + + 大きさ : 11. + + + 型 : scilab リスト. + + + + + + + wpar + + このベクトルは現在使用されていません. + 将来,エディタのウィンドウの大きさを指定するために + 使用される可能性があります. + + + 大きさ : 6. + + + 型 : 列ベクトルまたは実数. + + + + + title + + 文字列のベクトルで, + 最初の文字列はダイアグラムのタイトルで, + 保存するファイル名のデフォルト名です. + 2番目の文字列は,ファイル名のディレクトリのパスです. + + + 大きさ : 2. + + + 型 : 文字列の行ベクトル. + + + + + tol + + + ソルバーにより使用されつ種々の許容誤差を含むシミュレーションパラメータを保持するベクトル. + + + + + atol + + + 数値ソルバーの積分器の絶対許容誤差. + + + + + + + rtol + + + 数値ソルバーの積分器の相対許容誤差. + + + + + + + ttol + + + 時間に関する許容誤差. + + + 積分間隔がttolより小さい場合,数値ソルバーはコールされません. + + + + + + + deltat + + + 積分時間間隔の最大値. + + + 積分周期がdeltatより大きい場合, + 各コールの積分周期がdeltat以下となるように + 数値ソルバーが複数回コールされます. + + + + + scale + + + 実時間スケーリング; 値0は実時間スケーリングをしないことを意味します. + + + Scicosシミュレーション時間を実時間(単位:秒)に関連付けます. + + + 値1はScicosの各時間単位を1秒に対応付けることを意味します. + + + + + + + solver + + + 数値ソルバーを選択. + + + 値0はODEソルバー, 100はDAEソルバーを意味します. + + + + + + + hmax + + + 数値ソルバーの最大ステップ数. + + + 0 は制限なしを意味します. + + + + + + + + + 大きさ : 7. + + + 型 : 実数の列ベクトル. + + + + + tf + + シミュレーション終了時間. + シミュレーションはこの時刻で停止します. + デフォルト値は 100000です. + + 大きさ : 1. + + + 型 : 実数. + + + + + context + + + 記号パラメータとしてダイアグラムのブロック内で使用される + Scilab変数を定義するScilab命令を含む文字列のベクトル. + + + コメントを含む有効な全てのScilab命令を使用できます. + + + 大きさ : コンテキストの行数. + + + 型 : 文字列の列ベクトル. + + + + + void1 + + 使用されないフィールド. + + 大きさ : -. + + + 型 : -. + + + + + options + + + 背景色やリンク色のようなエディタのグラフィックプロパティを定義する + scsopt型のScilabオブジェクト. + + + フィールドは以下のようになります: + + + + + 3D + + + 2つのエントリを有するリスト. 最初のエントリは論理値で, + ブロックが3次元的な外観を有するかどうかを指定します. + + + 第2エントリはカレントの色マップにおける色を指定し, + 3次元効果を生成する際に使用されます. + + + デフォルトは33で, + Scicosにより32色を有する標準カラーマップに追加される灰色に対応します. + + + デフォルト値は list(%t,33) です. + + + + + + + Background + + + 2つのエントリを有するベクトル: 背景色および + 表示色. + + + デフォルト値は [8,1] です. + + + + + + + link + + + 標準およびアクティベーションリンクの + デフォルトのリンク色. + + + これらの色はリンク接続でのみ使用されます. + + + これらを変更しても既に接続済みのリンクには影響を与えません. + + + デフォルト値は [1,5] で, これらは標準Scilabカラーマップが + 使用されている場合は黒と赤に対応します. + + + + + + + ID + + + フォント番号と大きさを有する2つのベクトルのリスト. + + + デフォルト値は [5,1],[4,1]です. + + + + + + + Cmap + + + カラーマップに追加される色のRGB値を有する + n行3列の行列です. + + + デフォルト値は [0.8,0.8,0.8], すなわち灰色です. + + + + + + + + + 大きさ : 6. + + + 型 : scsopt型のscilab tlist. + + + + + void2 + + 使用されていないフィールド. + + 大きさ : -. + + + 型 : -. + + + + + void3 + + 使用されていないフィールド. + + 大きさ : -. + + + 型 : -. + + + + + doc + + ユーザ定義のダイアグラム文書構造体. + + 大きさ : 1. + + + 型 : 文字列. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_params.sci + + + + diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/links/CHAPTER b/modules/xcos/help/ja_JP/scilab_data_structures/links/CHAPTER new file mode 100755 index 000000000..209ea6fbb --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/links/CHAPTER @@ -0,0 +1 @@ +title = Links diff --git a/modules/xcos/help/ja_JP/scilab_data_structures/links/scicos_link.xml b/modules/xcos/help/ja_JP/scilab_data_structures/links/scicos_link.xml new file mode 100755 index 000000000..9a1272aa8 --- /dev/null +++ b/modules/xcos/help/ja_JP/scilab_data_structures/links/scicos_link.xml @@ -0,0 +1,156 @@ + + + + + scicos_link + link構造体の定義 + + + モジュール + + + + xcos + + + + + + link + + 大きさ : 8. + + + 型 : scilabリスト. + + + + + + + xx + + リンクパスのx座標のベクトル. + リンクはポリラインとして定義されます. + + 大きさ : リンクの点の数. + + + 型 : 実数の列ベクトル. + + + + + yy + + リンクパスのy座標のベクトル. + A link is defined as a polyline line. + リンクはポリラインとして定義されます. + + 大きさ : リンクの点の数. + + + 型 : 実数の列ベクトル. + + + + + id + + 文字列, リンクID. + + 大きさ : 1. + + + 型 : 文字列. + + + + + thick + + 線幅を定義する大きさ2のベクトル. + + 大きさ : 2. + + + 型 : 整数の行ベクトル. + + + + + ct + + このベクトルの最初のエントリで色を指定します. + 第2エントリは標準リンクの場合に1,アクティベーションリンクの場合に-1,暗黙のリンクの + 場合に2となります. + + + 大きさ : 2. + + + 型 : 整数の行ベクトル. + + + + + from + + + 大きさ3のベクトルで,リンクの始点のブロック番号,ポート番号,ポート型 (出力:0, 入力: 1). + 第3エントリはリンクが暗黙である場合に 1, それ以外の場合に 0 となることに注意してください. + + + 大きさ : 3. + + + 型 : 整数の行ベクトル. + + + + + to + + + 大きさ3のベクトルで,リンクの終点のブロック番号,ポート番号,ポート型 (出力:0, 入力: 1). + 第3エントリはリンクが暗黙である場合に 1, それ以外の場合に 0 となることに注意してください. + + + 大きさ : 3. + + + 型 : 整数の行ベクトル. + + + + + + ファイルの内容 + + + SCI/modules/scicos/macros/scicos_scicos/scicos_link.sci + + + + diff --git a/modules/xcos/help/ja_JP/xcos.xml b/modules/xcos/help/ja_JP/xcos.xml new file mode 100755 index 000000000..1330674bb --- /dev/null +++ b/modules/xcos/help/ja_JP/xcos.xml @@ -0,0 +1,417 @@ + + + + + + + + + xcos + + ハイブリッドシミュレータ用のブロック図エディタおよびGUI + + + + + + 呼び出し手順 + + + + xcos() + + xcos(filename) + + xcos(scs_m_list) + + + + + + + + モジュール + + + + + + + + xcos + + + + + + + + + + + + 引数 + + + + + + + + filename : + + ダイアログファイル (拡張子: .cos, .cosf または .zcos)のパスを有する文字列. + + 入力引数が使用されない場合, + + 空のダイアグラムがオープンされます + + (デフォルト名: Untitled). + + + + + + + + + + scs_m_list : + + 編集後のXcosダイアグラム構造体. + + + + + + + + + + + + 説明 + + + + Xcosはハイブリッド動的システムのモデル構築用の + + ビジュアルエディタです. + + モデルは, Xcos のGUIにより, + + 結合, 読み込み, 保存, コンパイル, シミュレートできます. + + Xcosは様々なブロックダイアグラムコンパイラおよびハイブリッドシミュレータ + + scicosimへのインターフェイスとして動作します. + + + + + + Xcos環境には以下の要素があります: + + + + + + + + + + エディタ + + + + + + エディタにより,パレットで定義されたブロックから動的システムを表す + + フローチャートを設計することが可能となります. + + ユーザは標準ブロックをカスタマイズして, 新しいブロックを定義できます. + + + + + + + + + + + + パレットブラウザ + + + + + + パレットブラウザは, 全ての Xcos 標準ブロックを + + カテゴリ(信号処理, 電気, 水力, 微分, 積分, 等)によりグループ化して一覧を示します. + + 以下の図を参照ください. + + + + + + + + + + + + コンパイラ/シミュレータ + + + + + + Xcos 環境により, + + 離散, 連続, シンボル方程式(Modelica)により定義された,等, および + + 上記の機能を組み合わせた混合システムの + + 複雑なシステムのモデル構築からシミュレーションまでが可能になります. + + シミュレーションの結果のデータはリアルタイムでグラフィック表示でき, + + Scilabでポスト処理に使用することができます. + + + + + + + + + + + + ツールバーアイコンでxcosを起動するには, + + + + + + + + + + + + Scilabメインウインドウのアプリケーションの + + Xcosメニュー要素,または, + + 空のXcosウインドウをオープンする以下の例のようにします. + + + + + + + + xcos + + + + + + + + + + + + + + + + + + 既存のダイアグラムをオープンするには,この例のように + + 有効なファイル名を指定する必要があります: + + + + + + + + + + この例では,Xcosウインドウがオープンされ, + + bounce.zcosデモのダイアグラムが表示されます. + + + + + + + + あるダイアグラム構造体が Scilabワークスペースに存在する場合, + + この例のようにオープンすることができます: + + + + + + + + + + ただし,scs_mbounce.zcosのダイアグラム構造体です. + + + + + + Xcos エディタと同時に開いた + + パレットブラウザで提供されるブロックを結合することにより + + モデルを構築します. + + このウインドウは以下のような外観になります. + + + + + + + + + + + + + + + + + + + + ウインドウの左の部分にある パレット タイトルを + + クリックすることにより表示されるパレットをカスタマイズすることができます. + + パレットウインドウは,パレットを個別に選択/非選択できる選択リストを表示します. + + 前の画面に戻るには, パレットのタイトルをクリックします. + + + + + + + + + + + + + + + + + + Xcos はModelicaに基づくモデル用,およびユーザ定義のブロックおよびコード生成用に + + Cコンパイラを必要とします. + + + + + + サポートされるコンパイラをインストールすることが推奨されます. + + + + + + + + + + + + + + + + 参照 + + + + + + scicosim + + + + + + scicos_simulate + + + + + + Menu entries + + + + + + Supported compilers + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/xcos_debug_gui.xml b/modules/xcos/help/ja_JP/xcos_debug_gui.xml new file mode 100755 index 000000000..5c460e6a6 --- /dev/null +++ b/modules/xcos/help/ja_JP/xcos_debug_gui.xml @@ -0,0 +1,263 @@ + + + + + + + + + + + xcos_debug_gui + + + + + + Debug Xcosブロックで使用される対話的デバッグ機能 + + + + + + + + + + 説明 + + + + + + Xcos Debug ブロックにより + + シミュレーション時に各ブロックの + + 実行前および実行後に実行されるScilab命令を設定できるように + + なります. + + Debugブロック命令用xcos_debug_gui()命令を設定することにより, + + シミュレーション開始時にグラフィックユーザインターフェイス + + がオープンされます. + + このGUIにより対話的デバッグが可能となります. + + 特にシミュレーションを中断させる条件(ブレークポイント)を + + 動的に指定することができるようになります. + + ブレークポイントで中断した際に, ユーザは + + ブロックの + + カレントの値, 状態, 入力, ....を調べることができます. + + + + + + + + いつでも, ユーザは以下の累積条件の集合によりブレークポイントを + + 指定することができます: + + + + + + + + + + + + カレントのブロックがコールされたフラグの値 + + + + + + + + + + カレントの日付の値 + + + + + + + + + + ブレークがブロックコールの前に起きたかどうか + + + + + + + + + + + + Scilab論理式の値により, + + ブレークは条件がtrueに評価された場合に + + アクティブになります. + + この式では, + + カレントのブロック要素と + + Scilab関数 + + curblock および + + scicos_time + + を有する + + ブロック変数 C_struct + + を使用できます. + + + + + + + + + + + + + + + + + + + + + + + + シミュレーションが中断した場合, + + グラフィックユーザインターフェイスが + + カレントの時間とカレントのフラグの値, + + ブロック番号とスーパーブロック階層におけるブロックのパス + + を表示します. + + + + + + + + "Next" ボタンにより次の中断条件までシミュレーションが + + 再実行されます + + + + + + + + "End debug" ボタンにより条件が全て無効となり, + + シミュレーションが終了します + + + + + + + + "Pause" ボタンにより,Scilabコンソール内で + + Scilab命令を実行するカレントのブロックに関連する + + ブロックデータ構造体を対話的に観測できるようになります. + + ユーザは戻る際に"return"命令を入力する必要があります. + + + + + + + + + + + + 著者 + + + + + + Serge Steer, INRIA + + + + + + + + + + 履歴 + + + + + + + + 0.0 + + + + 関数 xcos_debug_gui が追加されました + + + + + + + + + diff --git a/modules/xcos/help/ja_JP/xcos_menu_entries.xml b/modules/xcos/help/ja_JP/xcos_menu_entries.xml new file mode 100755 index 000000000..fc548f12e --- /dev/null +++ b/modules/xcos/help/ja_JP/xcos_menu_entries.xml @@ -0,0 +1,1901 @@ + + + + + + + + + Menu_entries + + Xcosエディタのメニューエントリ + + + + + + 内容 + + + + 本節では + + Xcosエディタの全てのメニューエントリを簡単に + + 紹介します. + + 多くの要素が,マウスカーソルが + + ブロック,リンクまたはメインXcos ウインドウ + + にある時に右クリックして表示されるプルダウンメニューでも利用可能です. + + + + + + + + + + Xcosエディタメニューエントリ + + + + + + + + + + + + + + Fileメニュー + + + + + + + + + + Editメニュー + + + + + + + + + + Viewメニュー + + + + + + + + + + Simulateメニュー + + + + + + + + + + Formatメニュー + + + + + + + + + + Toolsメニュー + + + + + + + + + + ?メニュー + + + + + + + + + + 参照 + + + + + + + + + + + + + + + + Fileメニュー + + + + + + + + + + + + + + + + + + ファイル:新規 (Ctrl+N) + + + + + + + + + + + + + + + + アクティブな編集Xcosウインドウに + + 空のダイアグラムを読み込む際には, + + Newメニューをクリックしてください. + + このメニューにより,新しいダイアグラムまたはパレットをオープンすることが + + できます. + + + + + + + + + + ファイル:開く (Ctrl+O) + + + + + + + + + + + + + + + + 保存されたブロックダイアグラムまたは + + パレットを有するXML (.zcos) + + またはバイナリのファイルを読み込む際には, + + Openメニューを選択してください. + + ダイアログボックスによりファイルを選択することができます. + + + + + + + + + + ファイル:保存 (Ctrl+S) + + + + + + + + + + + + + + + + ダイアグラムを XML ファイルに保存するには, + + Save メニュー要素を選択してください. + + + + + + このメニュー要素を選択し, Saveまたは + + Save Asメニュー要素をクリックしていない場合, + + ダイアログによりディレクトリと拡張子を除くファイル名を選択することが + + できます. + + デフォルトの拡張子は, .zcosです. + + + + + + + + + + ファイル:名前を付けて保存 (Ctrl+Shift+S) + + + + + + + + + + + + + + + + Select the Save As menu item to save the block diagram or palette in a file with a new name. + + + + + + A dialog box allows specifying a file name without the extension and a saving folder. + + The default extension is .zcos. + + + + The diagram takes the name of the file (without the extension). + + + + + + + + + + ファイル:エクスポート (Ctrl+E) + + + + + + この要素は,カレントのXcosダイアグラムの + + 図をエキスポートする際に使用されます. + + エクスポートは, + + WBMP, GIF, HTML, JPEG, JPG, PNG, SVG または VML 形式で行われます. + + + + + + + + + + ファイル:最近のファイル + + + + このメニューにより,最近開いたファイルに簡単にアクセスすることができます. + + + + + + + + ファイル:印刷 (Ctrl+P) + + + + + + + + + + + + + + + + カレントのダイアグラムをプリンタで印刷します. + + + + + + + + + + + + ファイル:閉じる (Ctrl+W) + + + + + + 複数のダイアグラムがオープンされている場合, + + 「閉じる」によりカレントのダイアグラムが閉じられます. + + オープンされているダイアグラムが1つだけの場合, + + 「閉じる」によりXcosが閉じられ, + + (開かれている場合には)ビューポートおよびパレットも閉じられます. + + + + + + + + + + ファイル:終了 (Ctrl+Q) + + + + + + 複数のダイアグラムがオープンされている場合, + + 「終了」により Xcosが閉じられ, + + (開かれている場合には)ビューポートおよびパレットも閉じられます. + + このメニューにより全ての開かれているダイアグラムが + + 閉じられます. + + + + + + + + + + + + 編集メニュー + + + + + + + + + + + + + + + + + + 編集:元に戻す (Ctrl+Z) + + + + + + + + + + + + + + 直近の編集操作を取り消すには「元に戻す」を選択します. + + + + + + + + 編集:やり直し (Ctrl+Y) + + + + + + + + + + + + + + 取り消した直近の編集操作を再度実行するには, + + 「やり直し」メニューを選択します. + + + + + + + + + + 編集:切り取り (Ctrl+X) + + + + + + + + + + + + + + + + 選択されたオブジェクトをダイアグラムから削除し, + + オブジェクトがブロックの場合にクリップボードにコピーするには, + + 「切り取り」が使用されます. + + + + + + + + + + 編集:コピー (Ctrl+C) + + + + + + + + + + + + + + + + 選択されたオブジェクトを + + オブジェクトがブロックの場合にクリップボードにコピーするには, + + 「コピー」が使用されます. + + + + + + + + + + 編集:貼り付け (Ctrl+V) + + + + + + + + + + + + + + 「貼り付け」は, + + クリップボード上にあるオブジェクトをダイアグラムに + + 配置します. + + + + + + + + + + 編集:削除 (Delete) + + + + + + + + + + + + + + ブロックまたはリンクを削除するには, + + まず「削除」メニューを選択した後, + + 選択するオブジェクトを順に(左ボタンで)クリックします. + + オブジェクトに結合された全てのリンクを削除した時点で, + + そのオブジェクトも同時に削除されます. + + + + + + + + + + 編集:全て選択 (Ctrl+A) + + + + カレントのダイアグラムのブロックを全て選択します. + + + + + + + + 編集:選択範囲を反転 + + + + カレントの選択範囲を反転します. + + + + + + + + 編集:ブロックパラメータ (Ctrl+B) + + + + + + + + + + + + + + + + 選択されているブロックのブロック設定ウインドウを開きます. + + 設定は使用するブロックに依存します + + (設定の詳細についてはブロックヘルプを参照). + + + + + + + + + + 編集:選択範囲をスーパーブロックに変換 + + + + + + + + + + + + + + 選択されたブロックをスーパーブロックに変換します. + + + + + + + + + + 表示メニュー + + + + + + + + + + + + + + + + + + 表示:拡大 (Ctrl+Plus) + + + + + + + + + + + + + + このメニューを選択すると,ダイアグラムが10% 拡大されます. + + + + + + + + 表示:縮小 (Ctrl+Minus) + + + + + + + + + + + + + + このメニューを選択すると,ダイアグラムが10% 縮小されます. + + + + + + + + 表示:ビューをダイアグラムに合わせる + + + + + + + + + + + + + + このメニューを選択すると,ダイアグラムがカレントのウインドウの + + 大きさとなるよう調整されます. + + + + + + + + + + 表示:通常 100% + + + + + + + + + + + + + + ダイアグラムがこの作業範囲に合うように + + 作業範囲の大きさを調整します. + + + + + + + + + + 表示:パレットブラウザ + + + + パレットブラウザを開きます. + + + + + + + + 表示:ダイアグラムブラウザ + + + + ダイアグラムのブロックの一覧を出力する + + ウインドウを表示し, + + ブロックのscs_m構造体に関する情報を出力します. + + + + + + + + + + 表示:表示ポート + + + + + + 表示ポートを表示します.表示ポートはカレントのダイアグラムの + + イメージです. + + この表示ポートにより,作業範囲をダイアグラムの一部に + + 移動することができます. + + + + + + + + + + + + + + + + 上の図に,ダイアグラムの一部を拡大するビューポートの例を + + 示します.右側のxcosウインドウは,ダイアグラムの拡大された部分を + + 表示しています. + + + + + + + + + + 表示:詳細 + + + + ダイアグラムの選択されたブロックの一覧を示すウインドウを + + 表示し,これらのブロックのscs_m構造体に関する情報を出力します. + + + + + + + + + + + + シミュレーションメニュー + + + + + + + + + + + + + + + + + + シミュレーション:設定 + + + + + + + + + + + + + + + + メインXcosウインドウにおいて, + + 設定メニューをクリックすると, + + 以下の積分パラメータを変更するための + + ダイアログボックスが起動します: + + + + + + + + + + + + + + + + + + + + + + 積分終了時間 (積分はこの時間で終了します, + + この値は常に0を基準とします) + + + + + + + + 実時間スケール(xcosの時間の単位を1秒に設定することにより + + 強制的にリアルタイムシミュレーションが実行されます) + + + + + + + + 絶対許容誤差および相対許容誤差 (ソルバーのプロパティ) + + + + + + 時間許容値 (ODEソルバーが連続状態量を更新する際に使用される + + 積分間隔の最小値) + + + + + + + + 最大積分時間間隔(各ソルバーのコール時の時間間隔の最大値で + + エラーメッセージ"too many calls"が発生した場合はより小さな値と + + する必要があります) + + + + + + + + + + ソルバ: 使用する数値ソルバーを選択. + + 常微分方程式 (ODE)ソルバまたは + + 代数微分方程式ソルバ(IDA)のどちらかを選択します. + + 使用するモデルがIDAソルバを必要とすると + + Xcos が検出した場合, + + Xcos はIDAソルバに自動的に切替える情報ボックスを + + 表示します. + + + + + + + + + + 最大ステップサイズ: + + ソルバにより使用される最大時間ステップ. + + このパラメータは単調なシステム応答においてローカルな + + 特異性を探す際に有用です. + + この応答型の場合, 数値ソルバは, 計算時間を減らすために + + 自動的にステップサイズを増加させます. + + システムがこのようなケースであると思われる場合, + + このパラメータの値を減らしてください. + + + + + + + + + + + + コンテキストを設定: 以下の説明を参照 + + + + + + + + + + + + デフォルト: + + このボタンはシミュレーションパラメータを工場値にリセットします. + + + + + + + + + + + + ソルバに関する詳細については, + + + + 参照 + + + の節を参照ください. + + + + + + + + + + + + 実行トレースとデバッグ + + + + + + Xcosをデバッグモードに設定します. + + This item opens the following dialog box in which you can choose + + the debugging mode. For more information, see the command + + scicos_debug + + + + + + + + + + シミュレーション:コンテキスト設定 + + + + + + When you select this menu item you obtain this dialog: + + + + + + + + + + + + + + + + + + + + You can enter here Scilab instructions for defining the symbolic Xcos + + parameters used in block definitions or to do whatever you want. + + + + + + These instructions will be evaluated each time the diagram is loaded. If you change the value of a symbolic + + Xcos parameters in the context, all the blocks that contains this symbolic parameter are + + updated when you click on OK. By example if you want to set the value + + of gain of several blocks to a value which depends on a single value, you can proceed like this : + + + + + + + + + + We have three GAINBLK_f blocks, open the Set context dialog and + + writes the symbolic variables: + + + + + + + + + + + + + + + + Then, open successively each block parameters dialog and set for the gain value the name of + + required symbolic value, here A, B and + + C. + + + + + + + + + + + + + + + + シミュレーション:コンパイル + + + + + + ブロックダイアグラムをコンパイルする際には + + 「コンパイル」メニューを選択します. + + (実行メニューによる)各シミュレーションの開始前に必要に応じて実行前に + + 自動的にコンパイルが行われるため,このメニューは使用されることはありません. + + 通常,新たなコンパイルはシステムパラメータおよび内部状態量が + + 修正された場合でも不要です. + + しかしながら,いくつかのケースでは, + + これらの修正が正常に更新されない場合があり, + + 再開または継続の前にマニュアルでコンパイルを行うことが + + 必要となる可能性があります. + + + + + + このようなケースが見つかった場合には,報告してください. + + + + Scilabに関するバグと希望をレポートしてください. + + + + + + + + + + + + Simulate:Modelica の初期化 + + + + + + このメニュー要素は, + + Modelicaコンパイラの専用ダイアログをオープンします. + + このダイアログでは,モデルの内容を確認でき, + + Kinsol, + + Ida, Fsolve, Optim, + + Nelder Mead および Hompack ソルバ + + からソルバを選択することもできます. + + + + + + + + + + + + シミュレーション:開始 + + + + + + + + + + + + + + シミュレーションを開始するには開始メニューを選択します. + + システムがシミュレーション済みの場合には, + + シミュレーションの継続,再開または終了を選択する + + ダイアログボックスが開きます. + + + + + + + + + + シミュレーション:停止 + + + + + + + + + + + + + + "停止"ボタンを選択することによりシミュレーションを中断することが + + でき,任意のブロックパラメータを変更して,新しい値で + + シミュレーションを継続することができます. + + + + + + + + + + + + フォーマットメニュー + + + + + + + + + + + + + + + + + + フォーマット:回転 (Ctrl+R) + + + + + + + + + + + + + + + + 回転では,ブロックを左に 90°回転することができます. + + 回転は選択された全ブロックに適用されます. + + + + + + + + + + + + フォーマット:反転 (Ctrl+F) + + + + + + + + + + + + + + + + 側面に配置されたブロックの(通常の)入力および出力の位置を反転する + + 際には,まず「反転」メニューを選択した後, + + 選択するブロックをクリックします. + + これにより,左から右に番号がふられている + + 入力および出力イベントポートの順番や位置は変更されません. + + + + + + + + + + フォーマット:ミラー (Ctrl+M) + + + + + + + + + + + + + + + + ブロックの左右に設定した(標準)入力および出力の位置を反転する際には, + + ブロックを選択し, Mirrorメニュー要素を選択します. + + これは, 上から下に番号が付けられた入力および出力ポートの順番および + + 位置には影響しません. + + ミラーリングは選択された全ブロックに作用します. + + + + + + + + + + + + フォーマット:影を表示/非表示 + + + + このメニューにより選択されたブロックの + + 3次元表示および関連するパラメータを選択することができます. + + + + + + + + + + フォーマット:ブロックの整列 + + + + + + + + + + + + + + + + + + + + 複数のブロックを選択した場合, + + 垂直方向(上,下,中央)および水平方向(左,右,中心)にこれらを整列させることができます. + + + + + + + + + + フォーマット: 境界の色 + + + + + + + + + + + + + + このメニューにより境界の色を変更できます. + + + + + + + + フォーマット:線の色 + + + + + + + + + + + + + + このメニューにより線の色を変更できます. + + + + + + + + フォーマット:結合方法 + + + + + + + + + + + + + + + + このメニューにより結合の形式を選択できます: + + + + + + まず,リンクを選択,適当なメニュー要素を選択または + + ショートカット(H), S, V) + + を使用します. + + 以下に得られる結果のリストを示します. + + + + + + + + + + 水平 (H) + + + + + + + + + + + + + + + + + + + + 直線 (S) + + + + + + + + + + + + + + + + + + + + 垂直 (V) + + + + + + + + + + + + + + + + + + + + + + + + フォーマット:ダイアグラムの背景 + + + + このメニューにより背景の色を変更できます. + + + + + + + + フォーマット:グリッド + + + + このメニューによりグリッドを有効/無効にできます. + + グリッドにより,作業領域でブロックを配置するのは容易になります. + + + + + + + + + + + + ツールメニュー + + + + + + + + + + + + + + + + + + ツール:コード生成 + + + + + + このメニューにより,離散時間スーパーブロックに関連するシミュレーションコードを + + 生成することができます. + + コード生成は,このメニューを選択した後, + + 指定するスーパーブロックを選択することにより行ないます. + + スーパーブロックが必要な条件を満たす場合, + + ブロック名,生成されたファイルを置くディレクトリおよび + + リンカにより指定されたオプションのライブラリを入力する + + ダイアログボックスがポップアップします. + + これらの情報を指定すると, + + コードが生成され,コンパイル,Scilabとリンクされます. + + スーパーブロックは生成されたコードを実装する + + 新しいブロックで自動的に置換されます. + + この後,修正されたダイアグラムを実行することができます. + + スタンドアロン実行用のコードも生成されます. + + + + + + + + + + + + ヘルプメニュー + + + + + + + + + + + + + + + + + + ヘルプ:Xcosヘルプ (F1) + + + + + + + + + + + + + + + このメニューはXcosヘルプブラウザをオープンします. + + + + + + + + + ヘルプ:ブロックヘルプ + + + + + + + + + + + + + + 特定のXcosオブジェクト(ブロック)のヘルプを取得するには, + + まずオブジェクト(ブロック)を選択した後, + + このヘルプメニュー項目をクリックします. + + + + + + + + + + ヘルプ:Xcosデモ + + + + + + + + + + + + + + このデモメニューによりXcosダイアグラムのいくつかの例を + + オープンすることができます. + + + + + + + + + + ヘルプ:Xcosについて + + + + Xcosの現在のバージョンおよびいくつかの有用な情報を出力します. + + + + + + + + + + 参照 + + + + + + scicos_debug + + + + + + ode + + + + + + dassl + + + + + + + + + diff --git a/modules/xcos/help/mml/integral_m.mml b/modules/xcos/help/mml/integral_m.mml new file mode 100755 index 000000000..2c73316b0 --- /dev/null +++ b/modules/xcos/help/mml/integral_m.mml @@ -0,0 +1,42 @@ + + + + + + y + + + ( + t + ) + + = + + + + + t + 0 + + t + + u + + + + ( + t + ) + + + dt + + + + y + 0 + + + + y(t)=int from{t_{0}}to{t} u (t) dt + y_{0} + + \ No newline at end of file diff --git a/modules/xcos/help/pt_BR/addchapter.sce b/modules/xcos/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..f651ba616 --- /dev/null +++ b/modules/xcos/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Xcos",SCI+"/modules/xcos/help/pt_BR",%T); + diff --git a/modules/xcos/help/ru_RU/addchapter.sce b/modules/xcos/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..045af9797 --- /dev/null +++ b/modules/xcos/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Xcos",SCI+"/modules/xcos/help/ru_RU",%T); + -- cgit