The Infona portal uses cookies, i.e. strings of text saved by a browser on the user's device. The portal can access those files and use them to remember the user's data, such as their chosen settings (screen view, interface language, etc.), or their login data. By using the Infona portal the user accepts automatic saving and using this information for portal operation purposes. More information on the subject can be found in the Privacy Policy and Terms of Service. By closing this window the user confirms that they have read the information on cookie usage, and they accept the privacy policy and the way cookies are used by the portal. You can change the cookie settings in your browser.
One of the fundamental problems in many areas of science and engineering is the problem of modeling and simulation. Scilab provides a large array of tools for developing and simulating models of several types. For several of these tools it is possible to use them with abbreviated commands and default values of some parameters. However, to know how to choose the appropriate tools and how to get the...
The Scilab language was initially devoted to matrix operations, and scientific and engineering applications were its main target. But over time, it has considerably evolved, and currently the Scilab language includes powerful operators for manipulating a large class of basic objects.
A frequency-domain realization theory is developed for the class of autonomous, but not necessarily stationary, boundary-value linear systems. It is shown that this realization problem, which consists of coastructing autonomous boundary-value linear systems from prescribed input-output functions (weighting patterns), reduces to the factorization of several rational matrices in two variables having...
Various optimization problems play a fundamental role in modeling and simulation. This chapter will cover some of the optimization utilities available in Scilab. Section 4.1 will present some overview comments about optimization, useful in using the algorithms. Section 4.2 discusses the most general optimization utilities. There is a close relationship between optimization and solving equations in...
There exist two categories of general scientific software: computer algebra systems that perform symbolic computations, and general purpose numerical systems performing numerical computations and designed specifically for scientific applications. The best-known examples in the first category are Maple, Mathematica, Maxima, Axiom, and MuPad. The second category represents a larger market dominated...
We have seen, in the previous chapter, how simple Scicos models can be constructed and simulated. To be able to construct more complex models, in particular models involving conditional and unconditional subsampling, it is important to understand the formalism on which Scicos is based. This is the subject of this chapter. The information in this chapter is also essential for reading the next chapter,...
Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes provided in Scicos or can be user-defined. In this section, we describe how the editor can be used to construct simple models and how these models can be simulated.
In this chapter, we will give an overview of how the Scicos compiler and editor are implemented. This information is useful for advanced users who want to customize Scicos or develop exotic functionalities. It is also useful for developers of interfaces to other software. But it can also be of interest to the average user, in particular, for efficiently using the debugging facilities.
In ScicosLab, most Scicos functionalities are developed in the Scilab language. This is very useful because it allows Scilab and Scicos to interact in many different ways, thereby mutually enriching their functionalities. We have already seen that Scicos relies heavily on the Scilab language. The Scicos editor is, for example, fully written in Scilab, making it easy for the user to add new functionalities...
A block is a basic module from which Scicos diagrams are constructed. A block corresponds to an operation, and by interconnecting blocks through links, we construct (implement) an algorithm. So in a sense, blocks in Scicos are the counterpart of functions in a programming language, and as in programming languages, some blocks are provided through standard libraries, while others are developed by the...
When a large Scicos diagram does not yield the expected simulation results, it can be fairly complicated to identify the problem. To help the user, debugging tools are provided in Scicos. We shall present these tools later in this chapter, but we will first explain Scicos error messages.
Scicos is a ScicosLab toolbox for modeling and simulation of dynamical systems. Scicos is particularly useful for modeling systems where continuous-time and discrete-time components are interconnected. Such models can be programmed directly in Scilab using the ode and dassl functions, studied previously, but that requires programming the discrete-time dynamics in the Scilab language. These programs...
Scicos provides a code-generation facility that can be used to create C code for a model defined in Scicos. Code generation has many applications. It can be used to improve simulation performance. Even though Scicos diagrams are compiled in the sense that all the scheduling tables are precomputed, there is still some overhead in using the Scicos simulator that is eliminated by running the code that...
Up to this point we have deliberately kept most of our examples concise in order to focus on learning Scilab and also to illustrate how simple many types of calculations are with Scilab. However, real scientific inquiries are often more complicated, involve several kinds of software, and have several goals.
A typical Scicos model used in a real industrial application includes hundreds of blocks and does not constitute a good example for illustrating Scicos functionalities. That is why in this chapter we start by studying small academic examples for which we can give full details. Later in Section 10.2 we briefly describe a few real-world applications and give references to detailed documentation for...
Standard Scicos is not well suited for physical component-level modeling modeling!component-level . For example, when modeling an electrical circuit, it is not possible to construct a Scicos diagram with a one-to-one correspondence between the electrical components (resistor, diode, capacitor,…) and the blocks in the Scicos diagram. In fact, the Scicos diagram does not look anything like the original...
Set the date range to filter the displayed results. You can set a starting date, ending date or both. You can enter the dates manually or choose them from the calendar.