MISO: Modal Interval SOlver User’s Manual by Pau Herrero Vi˜ nas November 16, 2006

1

1

Introduction

The Modal Interval SOlver (MISO) is a software implementation of a set of solvers based on Modal Interval Analysis [2]. These solvers are: • The FSTAR solver: Allows to obtain inner and outer approximations of the *-semantic extension of a continuous function. • The QRCS solver: Allows to prove the satisfiability of the following class of quantified real constraints. • The QSI solver: Allows to obtain inner and outer approximations of the solution set of a class of quantified real constrains. • The MINIMAX solver: Allows to solve a constrained minimax optimization problem. • The SQUALTRACK solver: Allows to detect faults in dynamic systems. A unique user interface allows to introduce the problems and to obtain the corresponding numerical and graphical outputs. A problem definition can be directly introduced by taping the commands in the main window using the corresponding grammar or by loading it from a text file using the window menu option File->Open. It is also possible to save the realized changes by selecting File->Save or to save the problem to a text file with a different name selecting File->Save as. To quit the application, the File->Quit option has to be selected. Once the problem definition has been introduced, it can be executed by selecting Execution->Run. The execution can be interrupted by selecting Execution->Break. Once the execution is terminated, the output file automatically appears in the main window. It is possible to switch between the input file and the output file using the options View->Output/View->Input. Solvers which dispose of a graphical output automatically show it during the execution. Figure 1 shows the main window of the MISO user interface.

Figure 1: Modal Interval Solver graphical user interface.

2

2

The FSTAR Solver

The FSTAR solver allows to obtain inner and outer approximations of the *semantic extension (f ∗ ) [2] of a continuous function. Inn(f ∗ (U, V)) ⊆ f ∗ (U, V) ⊆ Out(f ∗ (U, V)),

(1)

where U is a vector of proper variables, V is a vector of improper variables and f is a continuous function composed by a finite combination of elementary operators and functions such as +, −, ∗, sin, cos, min, max, . . . The grammar for introducing a problem in the FSTAR solver is conformed by the set of commands from Table 1. Table 1: FSTAR solver grammar. Command Description Algorithm=FSTAR; Select the FSTAR solver. %Commentaries Commentaries started with %. Tolerance=real_number; Desired precision for the approximation of f ∗ . Epsilon=real_number; Interval size from which the bisection procedure does not bisect a variable. Time=real_number; Stops the execution when this time (in seconds) is reached. Debug=1; The solvers provides a text file with the execution step-by-step. PlotX=x; Allows to select the variable to be plotted on the x axis (branch-and-bound). PlotY=y; Allows to select the variable to be plotted on the y axis (branch-and-bound). var_name = [lb,hb]; Variable declaration and interval assignment. f:=f(var_name); Objective function definition where, f is a non-linear function involving the declared variables and the function symbols: +, -, *, /, exp, log, cos, sin, tan, acos, asin, atan, pow(x,n), sqrt, min, max, abs. Remark: The ordering concerning the blocks of commands: parameters, variables declarations and objective function, must be respected. However, the order of the parameters or the order of the declaration of variables does not affect the execution. An example of a problem definition using the grammar from Table 1 is shown in Table 2 and its corresponding solution file in Table 3.

3

The QRCS Solver

The Quantified Real Constraint Satisfaction (QRCS) solver allows to prove the satisfiability of the following class of quantified real constraints. (∀u ∈ U0 )(∃v ∈ V0 ) f (u, v) T 0, where, 3

(2)

Table 2: FSTAR solver grammar example. Algorithm=FSTAR; Tolerance=1e-3; Epsilon=1e-3; x = [0,6]; y = [8,2]; PlotX=x; PlotY=y; f:=pow(x,2)+pow(y,2)+2*x*y-20*x-20*y+100; Table 3: FSTAR solver output. Computation Time (s):0.15 Number of bisections: 43 Inner Approximation:[9.0007324e+000, 4.0000000e+000] Outer Approximation:[8.9985352e+000, 4.0000000e+000] Tol: 2.1972209e-003 • U0 and V0 are real bounded domains (intervals). • The universal logical quantifiers (∀) always precede the existential (∃) quantifiers (∀∃-quantification). • A unique real predicate is involved and is composed by a finite combination of elementary operators and functions such as +, −, ∗, sin, cos, min, max, . . . and relational operators such as =, >, <, ≥, ≤. The grammar for introducing a problem to the QRCS solver is defined by the set of commands presented in Table 4. An example of a problem definition using the grammar from Table 4 is shown in Table 5 and its corresponding solution file in Table 6.

4

Table Command Algorithm=QRCS; %Commentaries Tolerance=real_number; Epsilon=real_number; Time=real_number; Debug=1; PlotX=x; PlotY=y; U(var_name,[lb,hb]); E(var_name,[lb,hb]); lf:=f(var_name)op 0;

4: QRCS solver grammar. Description Select the Logic Solver. Commentaries started with %. Desired precision for the approximation of f ∗ . Interval size from which the bisection procedure does not bisect a variable. Stops the execution when this time (in seconds) is reached. The solvers provides a text file with the execution step-by-step. Allows to select the variable to be plotted on the x axis (graphical output). Allows to select the variable to be plotted on the y axis (graphical output). Universally quantified variable with its associated interval. Existentially quantified variable with its associated interval. Logical formula definition where, f is any non-linear function involving the declared variables and the function symbols: +, -, *, /,exp, log, cos, sin, tan, acos, asin, atan, pow(x,n), sqrt, min, max, abs, and op is the relational operators =, >, <, ≥ or ≤.

Table 5: QRCS solver grammar example. Algorithm=QRCS; Epsilon=0.01; Tolerance=0.01; PlotX=x; PlotY=y; % Variables U(x,[0,6]); U(z,[5,8]); E(y,[2,8]); % Constraint lf:=pow(x,2)+pow(y,2)+2*x*y-20*x-20*y+100-z=0; Table 6: QRCS solver output. Computation Time (s):0.03 Number of bisections: 13 Consistency: True Inner Approximation:[2.9726562e+000, -1.0000000e+000] Outer Approximation:[2.6562500e-001, -1.0000000e+000] Tol: 2.7070313e+000

4

The QSI Solver

The Quantified Set Inversion (QSI) solver [3] allows to obtain inner and outer approximations of the solution set of a class of quantified real constrains. This 5

solution set is defined by Σ = {x ∈ X0 | (∀u ∈ U0 )(∃v ∈ V0 ) f1 (x, u, v) T 0 ∧ . . . ∧ fn (x, u, v) T 0}, (3) where (x, u, v) are vector of real variables, (X0 , U0 , V0 ) are vectors of real domains, fi (x, u, v) is a real continuous function composed by a finite combination of elementary operators and functions such as +, −, ∗, sin, cos, min, max, . . . Remark: In general, equality predicates must not share existentially quantified variables with other predicates. However, this limitation can be sometimes overcome using symbolic transformations of the equality predicates to eliminate shared existentially quantified variables. Moreover, logical conjunctions of inequality predicates sharing existentially quantified variables, can be reduced to a single predicate using the interval min (or max) function defined by For example, for inequality predicates of the form <, the next equivalence can be used, (∀u ∈ U0 )(∃v1 ∈ V10 ) . . . (∃vn ∈ Vn0 ) (g1 (x, u, v) < 0 ∧ . . . ∧ gn (x, u, v) < 0) ⇔ (∀u ∈ U0 )(∃v1 ∈ V10 ) . . . (∃vn ∈ Vn0 ) min(g1 (x, u, v), . . . , gn (x, u, v)) < 0.

(4)

Table 7 shows the grammar for introducing such a problem into the QSI solver. Table 7: QSI solver grammar. Description Select the QSI Solver. Commentaries started with %. Interval size from which the bisection procedure of the QSI algorithm does not bisect a variable. Tolerance=real_number; Desired precision for the approximation of f ∗ . Epsilon=real_number; Interval size from which the bisection procedure of the f ∗ algorithm does not bisect a variable. PlotX=x; Allows to select the free variable to be plotted on the x axis (graphical output). PlotY=y; Allows to select the free variable to be plotted on the y axis (graphical output). F(var_name,[lb,hb]); Free variable with its associated interval. U(var_name,[lb,hb]); Universally quantified variable with its associated interval. E(var_name,[lb,hb]); Existentially quantified variable with its associated interval. c:=f(var_name)op 0; Constraint definition where, f(var_name) is a continuous function and op is the operators >, <, ≥ or ≤. Command Algorithm=QSI; %Parameters QSIEps=real_number;

Table 8 shows an example of a QSI solver problem definition using the grammar from Table 7. Table 9 shows its corresponding solution text file. For the problem of Table 8, the corresponding graphical output can be observed in Figure 2. Where red boxes are boxes contained in the solution set, blue boxes are outside of the solution set and green boxes are undefined boxes. 6

Table 8: QSI solver grammar example. Algorithm=QSI; Epsilon=1e-2; Tolerance=1e-2; CSPEps=0.01; PlotX=x; PlotY=y; % Variables F(x,[-2,2]); F(y,[-2,2]); E(z,[-2,2]); % Constraints c:=pow(x,2)+pow(y,2)+pow(z,2)-1=0; Table 9: QSI solver output. Solution File: Computation Time(s):1.763 Bisections:707 Hull: x=[-0.9688, 0.9688] y=[-0.9688, 0.9688] Solution Boxes: Box: x=[-0.5, 0] y=[-0.5, 0] ... Non Solution Boxes: Box: x=[-2, -1] y=[-2, -1] ... Undefined Boxes: Box: x=[-0.03125, 0] y=[-1.031, -1] ...

5

MINIMAX Solver

The MINIMAX solver [4] allows to solve the following minimax optimization problem. f (u∗ , v∗ ) = min0 h(u), u∈U

with h(u) = max0 f (u, v) subject to g(u, v) ≤ 0. v∈V

where, 7

(5)

Figure 2: QSI solver graphical output. • f (u, v) is a Rn to R continuous function defined on the domain X0 = (U0 , V0 ) ⊆ Rnu × Rnv , • (u∗ , v∗ ) ∈ (U0 , V0 ) is a minimax point, • f (u∗ , v∗ ) is the minimax value of the function on the minimax point, • g(u, v) ≤ 0 is a set of inequality constraints involving (u, v). The grammar for introducing such a problem into the MINIMAX solver is conformed by the set of commands given in Table 10. For example, a minimax optimization problem definition using the grammar from Table 10 is shown in Table 11 and its corresponding output file in Table 12.

6

The SQUALTRACK Solver

The SQUALTRACK solver [1] is a software for detecting faults in dynamic systems based on the principle of analytical redundancy. Moreover, it takes the uncertainty into account by means of interval parameters and interval measurements. The grammar for introducing a problem into the SQUALTRACK solver is conformed by the set of commands given in Table 13. An example of a SQUALTRACK problem definition using the grammar from Table 13 is shown in Table 14. A data file containing the measurement of the process must be provided by the user. This data file must respect an ordering of the information. The data has to be ordered by columns and separated by space characters. In the first row of the file, the names of the variables, which must correspond with the names of the variables declared in the problem definition, must be provided. 8

Table 10: Command Algorithm=MINIMAX; %Parameters Tolerance=real_number; Epsilon=real_number; Time=real_number; Debug=1; PlotX=x; PlotY=y; MIN(var_name,[lb,hb]); MAX(var_name,[lb,hb]); f:=f(var_name);

c:=f(var_name)op 0;

MINIMAX solver grammar. Description Select the MINIMAX Solver. Commentaries started with %. Desired precision for the approximation of f ∗ . Interval size from which the bisection procedure does not bisect a variable. Stops the execution when this time (in seconds) is reached. The solvers provides a text file with the execution step-by-step. Allows to select the variable to be plotted on the x axis. Allows to select the variable to be plotted on the y axis. Variable to minimize with its associated interval. Variable to minimize with its associated interval. Objective function definition where, f is any non-linear function involving the declared variables and the function symbols: +, -, *, /,exp, log, cos, sin, tan, acos, asin, atan, pow(x,n), sqrt, min, max, abs. Constraint definition where, op is the relational operators >, <, ≥ or ≤.

Table 11: MINIMAX grammar example. Algorithm=MINIMAX; Epsilon=1e-3; Tolerance=1e-3; PlotX=x; PlotY=y; MIN(x,[-3.1416,3.1416]); MAX(y,[-3.1416,3.1416]); f:=pow(cos(y)+cos(2*y+x),2); c:=y-x*(x+2*3.1416)<0; c:=y-x*(x-2*3.1416)<0; Finally, the file must have a ”.txt” extension. Table 15 shows an example of the corresponding data file for the problem example of Table 14. The SQUALTRACK solver generates a numerical and a graphical output. The numerical output consists on a text file containing the time step (Step), the output variable (Xc), the inner (Inn) and outer (Out) approximations of the output variable, a boolean variable (Fault) representing the fault and the biggest used window length (Window) for each time step. Table 16 shows an example of this numerical output. Figure 3 shows the graphical output of the SQUALTRACK solver. The upper graph shows the approximations (inner in green and outer in red) for the output variable and the corresponding measurement (in black). Note that often inner and outer approximations are not graphically distinguishable because they

9

Table 12: MINIMAX solver output. Computation Time (s):1.022 Number of bisections: 215 MinMax Approximation:[8.586377e-003, 8.586695e-003] Tol: 3.179092e-007 Joined Boxes MinMax List: Number of Boxes: 1 cell--------------------------------------------------Xp: x[0].Dom=[-4.370827e-001, -4.370812e-001]Mono(Cell)=0 Xi: y[0].Dom=[-2.553833e+000, -2.553833e+000]Mono(Cell)=1 Minimax:[8.586284e-003, 8.586440e-003] Consistency:iperhaps ---------------------------------------------------cell

Table 13: SQUALTRACK solver grammar. Algorithm=SQT; Select the SQUALTRACK Solver. InFile=input_file_name; Is the input file name from where the process data is read. The data must be organized by columns and the first row must contain the name of the variables. OutFile=output_file_name; Is the output file name where the numerical results are written. SampleTime=ts; Is the maximum available computing time between two samples. Windows={w1,w2,...,wn}; Is the set of window lengths. Parameter(name,interval); Is a model parameter declaration where name is the parameters name and interval is the corresponding interval. Measurement(name,r_noise,a_noise); Is a measured model input declaration where, name is the name of the measurements which must correspond with the one of the input file, r_noise is the relative noise expressed in percentage and a_noise is the absolute noise. State(name,r_noise,a_noise); Is the measured model output declaration where name is the name of the measurements which must correspond with the one of the input file. f:=F(Parameter,Measurements,State); Is any non-linear function involving the declared parameters, measurements and the state. are very close. The graph in the middle indicates the longest window length that has been used at each time step by means of green bars. Finally, the lower

10

Table 14: SQUALTRACK grammar example. Algorithm=SQT; %Parameters InFile=input_file_name; OutFile=output_file_name; SampleTime=1; Windows={1,5,25,50}; %Model parameters Parameter(A,[1,2]); Parameter(B,[3,4]); %Measurements Measurement(U,0.05,0); %State variable State(Y,0.05,0); %Function model f:=A*Y+B*U; Table 15: SQUALTRACK data input file. Y U 1.514855214 1.5 1.514563286 1.5 1.514563286 1.5 1.514563286 1.5 1.513979551 1.5 1.514855214 1.5 1.514855214 1.5 ...

Step 2 3 4 5 6 7 ...

Table 16: SQUALTRACK numerical output. Xc.Inf Xc.Sup Inn.Inf Inn.Sup Out.Inf Out.Sup Fault 1.43911 1.5906 1.39729 1.63865 1.39729 1.63865 0 1.43884 1.59029 1.39729 1.63865 1.39729 1.63865 0 1.43884 1.59029 1.39702 1.63835 1.39702 1.63835 0 1.43884 1.59029 1.27921 1.78252 1.27921 1.78252 0 1.43884 1.59029 1.27921 1.78252 1.27921 1.78252 0 1.43884 1.59029 1.27896 1.78222 1.27896 1.78222 0

Window 2 2 2 5 5 5

graph shows a red bar when a fault is detected. By clicking the right button of the mouse, a pop-up menu appears that allows to zoom the graphical output and stop the execution.

11

Figure 3: SQUALTRACK solver graphical output.

References ´ Sainz, and P. Herrero. Fault detection in a [1] J. Armengol, J. Veh´ı, M. A. pilot plant using interval models and multiple sliding time windows. In 5th IFAC Symposium on Fault Detection, Supervision and Safety for Technical Processes SAFEPROCESS 2003. Washington, D.C., U.S.A., 2003. ´ Sainz, L. Jorba, R. Calm, R. Estela, H. Mielgo, and [2] E. Garde˜ nes, M. A. A. Trepat. Modal intervals. Reliable Computing, 7(2):77–111, April 2001. ´ Sainz, and L. Jaulin. Quantified set inversion [3] P. Herrero, J. Veh´ı, M. A. algorithm. Reliable Computing, 11(5):369 – 382, June 2005. [4] M.A. Sainz, P. Herrero, J. Vehi, and J. Armengol. Solving problems on minimax optimization. PARA’04 Workshop on State-of-Art in Scientific Computing, 2004.

12

MISO: Modal Interval SOlver User's Manual

Nov 16, 2006 - Epsilon=real_number;. Interval size ... Epsilon=real_number; .... A data file containing the measurement of the process must be provided by.

388KB Sizes 1 Downloads 135 Views

Recommend Documents

manual-maintenance-interval-schedule-backhoe-loader-450e ...
manual-maintenance-interval-schedule-backhoe-loader-450e-caterpillar.pdf. manual-maintenance-interval-schedule-backhoe-loader-450e-caterpillar.pdf.

manual-maintenance-interval-schedule-hydraulic-excavator-345b ...
manual-maintenance-interval-schedule-hydraulic-excavator-345b-caterpillar.pdf. manual-maintenance-interval-schedule-hydraulic-excavator-345b-caterpillar.

manual-maintenance-interval-schedule-caterpillar-385c-hydraulic ...
manual-maintenance-interval-schedule-caterpillar-385c-hydraulic-excavator.pdf. manual-maintenance-interval-schedule-caterpillar-385c-hydraulic-excavator.

miso balsamic salad.pdf
Measuring cups + spoons. Ingredients. Beans: 1 can (1 1/3 cups) white beans, drained & rinsed. 2 tsp balsamic vinegar. 1/4 tsp white/yellow miso paste.

Modal Mereology & Modal Supervenience
My 'Modal Mereology' account of restrictivism does not require that such ...... Van Inwagen goes on to argue that he has no strong epistemic access to the unity ...

VABS Manual for Users
9 Jan 2012 - The 3D pointwise displacement/strain/stress distribu- tion within the structure can also be recovered based on the global behavior of the 1D beam analysis. Since most of the theoretical details are presented in pertinent papers and colle

VAMUCH Manual for Users
Mar 1, 2012 - Uses a simplified license mechanism. 6. Has a more detailed manual for end users and a manual for developers. 7. Adopts gfortran as the compiler to create executables for multiple operating systems including. Windows, Linux, and Mac. La

Modular reweighting users manual
mechanical analysis of biased equilibrium data”, Computer physics .... I really hope the script library gets big for the sake of beginners, but advanced simulators ...

MDR2400-EHD User Manual Users Manual Pages twenty ... - FCC ID
Historic AIS. Page 40 Issue 1. 862-015.45 uLink System Manual. Indoor Unit (IU) Rear Panel. Controls,. Indicators and Figure 11 shows all items on the IU Rear Panel. Connectors Table 7 describes the items shown in the illustration. Outdoor Unit DC Po

MDR2400-EHD User Manual Users Manual Pages twenty ... - FCC ID
module mates firmly with the female connector inside the IU. - Secure the Data Interface module to the IU. Slide the IU into the 19" rack and secure to the. 3.

manual-caterpillar-966h-792h-wheel-loaders-maintenance-interval ...
manual-caterpillar-966h-792h-wheel-loaders-maintenance-interval-schedule.pdf. manual-caterpillar-966h-792h-wheel-loaders-maintenance-interval-schedule.

manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval ...
manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval-schedule.pdf. manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval-schedule.pdf.

Wolf_L. Modal Adverbs and Modal Adjectives.pdf
regards to a proposition, and is represented by the following Assertion Operator: (8) Ax . When Ax stands for an assertion performed by x, S is the degree of strength by which the. assertion is performed and C is the propositional content of the asse

manual-maintenance-interval-schedule-caterpillar-320d-r-l-hydraulic ...
Cooling System Coolant (ELC) - Change ........... 148. Page 3 of 59. manual-maintenance-interval-schedule-caterpillar-320d-r-l-hydraulic-excavators.pdf.

manual-maintenance-interval-cat-416d-420d-42d ...
167. Whoops! There was a problem loading this page. Retrying... manual-maintenance-interval-cat-416d-420d-42d-428d-430d-432d-442d-backhoe-loaders.pdf.

manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval ...
manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval-schedule.pdf. manual-caterpillar-d3g-d4g-d5g-bulldozer-maintenance-interval-schedule.pdf.

manual-maintenance-interval-cat-416d-420d-42d ...
Use mileage, fuel consumption, service hours, or. calendar time, WHICH EVER OCCURS FIRST,. in order to determine the maintenance intervals. Products that ...

manual-maintenance-interval-schedule-caterpillar-320d-r-l ...
... Change ........... 148. Whoops! There was a problem loading this page. manual-maintenance-interval-schedule-caterpillar-320d-r-l-hydraulic-excavators.pdf.

Beamforming capacity optimization for MISO ... - Georgios Paschos
pacity optimization problem by following an analytical approach that projects the ...... of Electrical Engineering and Computer Science in the University of Patras, ...

Recognizing d-interval graphs and d-track interval ...
Aug 12, 2010 - tices Si and Sj adjacent if and only if Si ∩ Sj = ∅. The family F is ... as d disjoint “host” intervals on the real line for a d-interval graph. Thus the ..... x. Connect each vertex qi in Q to a vertex of degree 3 in a distinc

pdf-1412\miso-production-the-book-of-miso-vol-ii-soyfoods ...
... of the apps below to open or edit this item. pdf-1412\miso-production-the-book-of-miso-vol-ii-soyfoods-production-1-by-william-shurtleff-akiko-aoyagi.pdf.