Skip to content

Commit

Permalink
Added stuff
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@375 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
x97davka committed Aug 21, 1998
1 parent f8591eb commit 003ae01
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 9 deletions.
2 changes: 1 addition & 1 deletion modeq/report/Makefile
Expand Up @@ -3,7 +3,7 @@
SHELL = /bin/sh
LATEX = latex
MAKEINDEX = makeindex
RMLDOC = ../tools/rmldoc
RMLDOC = pike ../tools/rmldoc

SOURCES = exp.tex \
dae.tex \
Expand Down
45 changes: 37 additions & 8 deletions modeq/report/report.tex
Expand Up @@ -414,7 +414,7 @@ \chapter{Goals, motivation and stuff}

The two important words in this instructions are ``Modelica'' and
``RML'', and the main reasons for writing this specifications are
threefold.
threefold. \fixme{Fånigt}


\section{A Modelica specification is needed}
Expand All @@ -433,7 +433,7 @@ \section{Gaining experience with RML}
specifications had been written using it. More experience with
various language specificatiosn was desired.

\section{Natural semantics an equation-based languages}
\section{Natural semantics and equation-based\\ languages}

Modelica is not a programming language, such as C or LISP. Instead it
is a modeling language, with basically only static semantics. For
Expand Down Expand Up @@ -692,11 +692,11 @@ \subsection{Class restrictions}
\end{center}
\end{table}

A valid program can always be transformed into another valid program
by replacing all occurences of the restricted class keywords with the
keyword \code{class}. For a class declared with the keyword
\code{class} to be able to be used as if it was declared with a
restricted keyword \fixme{Fel men nästan rätt}, it has to adher to the
A goal of the Modelica design is that a valid program can always be
transformed into another valid program by replacing all occurences of
the restricted class keywords with the keyword \code{class}. For a
class declared with the keyword \code{class} to be able to be used as
if it was declared with a restricted keyword, it has to adher to the
restrictions for that keyword.

As an example, this means that if a variable is used in a connection,
Expand All @@ -710,9 +710,33 @@ \subsection{Class restrictions}
allowed in connections, but \code{class} is, as long as it fulfills
the restrictions.

\subsection{Arrays and matrices}
It is currently not known if this goal will be fully met. In most
cases it could be done, but things like \code{package} and
\code{function} might be problematic.

\section{Arrays and matrices}
\label{sec:arrays}

The concept of arrays in Modelica have not been thoroughly examined as
of writing. Most of the basic properties of the type system should be
clear, but there are some points worth noting.


\subsection{Overloaded array operations}
\label{sec:arrayop}

The exact meaning of multiplication where one or more of the operands
are arrays is currently being defined. Simiarily for other
operations. The semantics specified here should be regarded as an
absolute reference to what these operations should mean, but rather as
a description of how the overloading of operators works.


\subsection{Collapsing arrays}
\label{sec:collaps}




\section{Connections}
\label{sec:connections}
Expand Down Expand Up @@ -1130,6 +1154,11 @@ \section{Flat Modelica}

\end{enumerate}


\chapter{An example}
\label{cha:example}


\chapter{Design}
\label{cha:design}

Expand Down

0 comments on commit 003ae01

Please sign in to comment.