Probleme mit Code Highlighting
Verfasst: Fr 7. Dez 2012, 14:40
Ich habe versucht mit dem Programm Highlight mir praktisch Code formatieren zulassen das geht auch, aber nur solange ich nur eins davon habe
siehe beispiel wenn man das ausgekommentiert reinnimmt geht es nicht mehr
hat wer vll eine idee?


\\documentclass{article} \usepackage{color} \usepackage{alltt} \usepackage[T1]{fontenc} \usepackage{ucs} \usepackage[utf8x]{inputenc} \newcommand{\hlstd}[1]{\textcolor[rgb]{0.2,0,0.4}{#1}} \newcommand{\hlnum}[1]{\textcolor[rgb]{0.2,0.73,0.02}{#1}} \newcommand{\hlesc}[1]{\textcolor[rgb]{0.65,0.09,0.38}{#1}} \newcommand{\hlstr}[1]{\textcolor[rgb]{0.09,0.38,0.65}{#1}} \newcommand{\hlpps}[1]{\textcolor[rgb]{0.4,0.2,0}{#1}} \newcommand{\hlslc}[1]{\textcolor[rgb]{0,0.4,0.2}{#1}} \newcommand{\hlcom}[1]{\textcolor[rgb]{0,0.4,0.2}{#1}} \newcommand{\hlppc}[1]{\textcolor[rgb]{0.33,0.45,0.69}{#1}} \newcommand{\hlopt}[1]{\textcolor[rgb]{0.33,0.33,0.33}{#1}} \newcommand{\hlipl}[1]{\textcolor[rgb]{0.65,0.09,0.38}{#1}} \newcommand{\hllin}[1]{\textcolor[rgb]{0.6,0.6,0.6}{#1}} \newcommand{\hlkwa}[1]{\textcolor[rgb]{1,0.19,0.19}{#1}} \newcommand{\hlkwb}[1]{\textcolor[rgb]{0.96,0.55,0.14}{#1}} \newcommand{\hlkwc}[1]{\textcolor[rgb]{0,0,1}{#1}} \newcommand{\hlkwd}[1]{\textcolor[rgb]{0.82,0.11,0.93}{#1}} \definecolor{bgcolor}{rgb}{1,1,1} \title{Source file} \begin{document} \pagecolor{bgcolor} \noindent \ttfamily \hlstd{}\hllin{\ 1\ }\hlkwa{model\ }\hlstd{Gleichrichter\textunderscore Mehrphasig\\ \hllin{\ 2\ }}\hlstd{\ \ }\hlstd{}\hlkwa{parameter\ }\hlstd{Integer\ m}\hlopt{(}\hlstd{}\hlkwa{final\ }\hlstd{min}\hlopt{=}\hlstd{}\hlnum{1}\hlstd{}\hlopt{)\ =\ }\hlstd{}\hlnum{3\ }\hlstd{}\hlstr{"number\ of\ phases"}\hlstd{}\hlopt{;}\\ \hllin{\ 3\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwa{parameter\ }\hlstd{Modelica.SIunits.Resistance\ Ron}\hlopt{{[}}\hlstd{m}\hlopt{{]}(}\hlstd{}\hlkwa{final\ }\hlstd{min}\hlopt{=}\hlstd{zeros}\hlopt{(}\hlstd{m}\hlopt{),\ }\hlstd{start\ }\hlopt{=\ }\hlstd{fill}\hlopt{(}\hlstd{}\hlnum{1}\hlstd{.E}\hlopt{{-}}\hlstd{}\hlnum{5}\hlstd{}\hlopt{,\ }\hlstd{m}\hlopt{))\ }\\ \hllin{\ 4\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{}\hlstr{"Closed\ diode\ resistance"}\hlstd{}\hlopt{;}\\ \hllin{\ 5\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwa{parameter\ }\hlstd{Modelica.SIunits.Conductance\ Goff}\hlopt{{[}}\hlstd{m}\hlopt{{]}(}\hlstd{}\hlkwa{final\ }\hlstd{min}\hlopt{=}\hlstd{zeros}\hlopt{(}\hlstd{m}\hlopt{),\ }\hlstd{start\ }\hlopt{=\ }\hlstd{fill}\hlopt{(}\hlstd{}\hlnum{1}\hlstd{.E}\hlopt{{-}}\hlstd{}\hlnum{5}\hlstd{}\hlopt{,\ }\hlstd{m}\hlopt{))\ }\\ \hllin{\ 6\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{}\hlstr{"Opened\ diode\ conductance"}\hlstd{}\hlopt{;}\\ \hllin{\ 7\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwa{parameter\ }\hlstd{Modelica.SIunits.Voltage\ Vknee}\hlopt{{[}}\hlstd{m}\hlopt{{]}(}\hlstd{}\hlkwa{final\ }\hlstd{min}\hlopt{=}\hlstd{zeros}\hlopt{(}\hlstd{m}\hlopt{),\ }\hlstd{start\ }\hlopt{=\ }\hlstd{zeros}\hlopt{(}\hlstd{m}\hlopt{))\ }\\ \hllin{\ 8\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{}\hlstr{"Treshold\ voltage"}\hlstd{}\hlopt{;}\\ \hllin{\ 9\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.MultiPhase.Ideal.IdealDiode\ idealDiode}\hlopt{(}\hlstd{m}\hlopt{=}\hlstd{m}\hlopt{,}\\ \hllin{10\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Ron}\hlopt{=}\hlstd{Ron}\hlopt{,}\\ \hllin{11\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Goff}\hlopt{=}\hlstd{Goff}\hlopt{,}\\ \hllin{12\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Vknee}\hlopt{=}\hlstd{Vknee}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\\ \hllin{13\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\},}\\ \hllin{14\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{rotation}\hlopt{=}\hlstd{}\hlnum{90}\hlstd{}\hlopt{,}\\ \hllin{15\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{origin}\hlopt{=\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{14}\hlstd{}\hlopt{\})));}\\ \hllin{16\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.MultiPhase.Ideal.IdealDiode\ idealDiode1}\hlopt{(}\\ \hllin{17\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{m}\hlopt{=}\hlstd{m}\hlopt{,}\\ \hllin{18\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Ron}\hlopt{=}\hlstd{Ron}\hlopt{,}\\ \hllin{19\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Goff}\hlopt{=}\hlstd{Goff}\hlopt{,}\\ \hllin{20\ }\hlstd{}\hlstd{\ \ \ \ }\hlstd{Vknee}\hlopt{=}\hlstd{Vknee}\hlopt{)}\hlstd{\ \ \ \ }\hlopt{}\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\\ \hllin{21\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\},}\\ \hllin{22\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{rotation}\hlopt{=}\hlstd{}\hlnum{90}\hlstd{}\hlopt{,}\\ \hllin{23\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{origin}\hlopt{=\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{20}\hlstd{}\hlopt{\})));}\\ \hllin{24\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.MultiPhase.Basic.Star\ star}\hlopt{(}\hlstd{m}\hlopt{=}\hlstd{m}\hlopt{)\ }\\ \hllin{25\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\\ \hllin{26\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{transformation}\hlopt{(}\\ \hllin{27\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\},}\\ \hllin{28\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{rotation}\hlopt{=}\hlstd{}\hlnum{90}\hlstd{}\hlopt{,}\\ \hllin{29\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{origin}\hlopt{=\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{38}\hlstd{}\hlopt{\})));}\\ \hllin{30\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.MultiPhase.Basic.Star\ star1}\hlopt{(}\hlstd{m}\hlopt{=}\hlstd{m}\hlopt{)\ }\\ \hllin{31\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\\ \hllin{32\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{transformation}\hlopt{(}\\ \hllin{33\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\},}\\ \hllin{34\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{rotation}\hlopt{=}\hlstd{}\hlnum{270}\hlstd{}\hlopt{,}\\ \hllin{35\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{origin}\hlopt{=\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{44}\hlstd{}\hlopt{\})));}\\ \hllin{36\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.MultiPhase.Interfaces.PositivePlug\ positivePlug\ \\ \hllin{37\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{30}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\})));}\\ \hllin{38\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.Analog.Interfaces.PositivePin\ pin\textunderscore p\ \\ \hllin{39\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\hlstd{extent}\hlopt{=\{\{}\hlstd{}\hlnum{88}\hlstd{}\hlopt{,}\hlstd{}\hlnum{42}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{108}\hlstd{}\hlopt{,}\hlstd{}\hlnum{62}\hlstd{}\hlopt{\}\})));}\\ \hllin{40\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Electrical.Analog.Interfaces.NegativePin\ pin\textunderscore n\ \\ \hllin{41\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\hlstd{extent}\hlopt{=\{\{}\hlstd{}\hlnum{88}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{70}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{108}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{50}\hlstd{}\hlopt{\}\})));}\\ \hllin{42\ }\hlstd{}\hlkwa{equation\ }\\ \hllin{43\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{star.plug\textunderscore p}\hlopt{,}\hlstd{idealDiode.\ plug\textunderscore n}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{44\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{28}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{24}\hlstd{}\hlopt{\}\},}\\ \hllin{45\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{46\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{47\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{idealDiode1.plug\textunderscore p}\hlopt{,}\hlstd{star1.\ plug\textunderscore p}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{48\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{30}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{34}\hlstd{}\hlopt{\}\},}\\ \hllin{49\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{50\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{51\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Diagram}\hlopt{(}\hlstd{graphics}\hlopt{));}\\ \hllin{52\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{star1.pin\textunderscore n}\hlopt{,\ }\hlstd{pin\textunderscore n}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{53\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{54}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{60}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{98}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{60}\hlstd{}\hlopt{\}\},}\\ \hllin{54\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{55\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{56\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{star.pin\textunderscore n}\hlopt{,\ }\hlstd{pin\textunderscore p}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{57\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{48}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{52}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{98}\hlstd{}\hlopt{,}\hlstd{}\hlnum{52}\hlstd{}\hlopt{\}\},}\\ \hllin{58\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{59\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{60\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{idealDiode.plug\textunderscore p}\hlopt{,\ }\hlstd{positivePlug}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{61\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{4}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{\},\{{-}}\hlstd{}\hlnum{20}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{\}\},}\\ \hllin{62\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{63\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{64\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwb{connect}\hlstd{}\hlopt{(}\hlstd{positivePlug}\hlopt{,\ }\hlstd{idealDiode1.plug\textunderscore n}\hlopt{)\ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Line}\hlopt{(}\\ \hllin{65\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{points}\hlopt{=\{\{{-}}\hlstd{}\hlnum{20}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{38}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\}\},}\\ \hllin{66\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{color}\hlopt{=\{}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{0}\hlstd{}\hlopt{,}\hlstd{}\hlnum{255}\hlstd{}\hlopt{\},}\\ \hllin{67\ }\hlstd{}\hlstd{\ \ \ \ \ \ }\hlstd{smooth}\hlopt{=}\hlstd{Smooth.None}\hlopt{));}\\ \hllin{68\ }\hlstd{}\hlkwa{end\ }\hlstd{Gleichrichter\textunderscore Mehrphasig}\hlopt{;}\hlstd{}\\ \mbox{} \normalfont \normalsize test test %\pagecolor{bgcolor} %\noindent %\ttfamily %\hlstd{}\hllin{\ 1\ }\hlkwa{model\ }\hlstd{Controller}\\ %\hllin{\ 2\ }\hlkwa{parameter\ }\hlstd{Real\ m\textunderscore min}\hlopt{=\ }\hlstd{}\hlnum{0.015311427}\hlstd{}\hlopt{;}\\ %\hllin{\ 3\ }\hlstd{}\hlkwa{parameter\ }\hlstd{Real\ n\textunderscore min}\hlopt{=}\hlstd{}\hlnum{11.4338135126}\hlstd{}\hlopt{;}\\ %\hllin{\ 4\ }\hlstd{}\hlkwa{parameter\ }\hlstd{Real\ m\textunderscore max}\hlopt{=}\hlstd{}\hlnum{-0.0031312692}\hlstd{}\hlopt{;}\\ %\hllin{\ 5\ }\hlstd{}\hlkwa{parameter\ }\hlstd{Real\ n\textunderscore max}\hlopt{=}\hlstd{}\hlnum{15.490328292}\hlstd{}\hlopt{;}\\ %\hllin{\ 6\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Blocks.Interfaces.RealInput\ u\ \\ %\hllin{\ 7\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{110}\hlstd{}\hlopt{,}\hlstd{}\hlnum{10}\hlstd{}\hlopt{\},\{{-}}\hlstd{}\hlnum{70}\hlstd{}\hlopt{,}\hlstd{}\hlnum{50}\hlstd{}\hlopt{\}\})));}\\ %\hllin{\ 8\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Blocks.Interfaces.RealInput\ t\ \\ %\hllin{\ 9\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\\ %\hllin{10\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{extent}\hlopt{=\{\{{-}}\hlstd{}\hlnum{18}\hlstd{}\hlopt{,{-}}\hlstd{}\hlnum{18}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{18}\hlstd{}\hlopt{,}\hlstd{}\hlnum{18}\hlstd{}\hlopt{\}\},}\\ %\hllin{11\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{rotation}\hlopt{=}\hlstd{}\hlnum{270}\hlstd{}\hlopt{,}\\ %\hllin{12\ }\hlstd{}\hlstd{\ \ \ \ \ \ \ \ }\hlstd{origin}\hlopt{=\{}\hlstd{}\hlnum{10}\hlstd{}\hlopt{,}\hlstd{}\hlnum{98}\hlstd{}\hlopt{\})));}\\ %\hllin{13\ }\hlstd{}\hlstd{\ \ }\hlstd{Modelica.Blocks.Interfaces.BooleanOutput\ y\ \\ %\hllin{14\ }}\hlstd{\ \ \ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Placement}\hlopt{(}\hlstd{transformation}\hlopt{(}\hlstd{extent}\hlopt{=\{\{}\hlstd{}\hlnum{90}\hlstd{}\hlopt{,}\hlstd{}\hlnum{18}\hlstd{}\hlopt{\},\{}\hlstd{}\hlnum{110}\hlstd{}\hlopt{,}\hlstd{}\hlnum{38}\hlstd{}\hlopt{\}\})));}\\ %\hllin{15\ }\hlstd{}\hlkwa{equation\ }\\ %\hllin{16\ }\hlstd{}\hlstd{\ \ }\hlstd{y\ }\hlopt{=(}\hlstd{u\ }\hlopt{$<$\ }\hlstd{m\textunderscore min}\hlopt{{*}}\hlstd{t}\hlopt{+}\hlstd{n\textunderscore min}\hlopt{)\ }\hlstd{}\hlkwa{or\ }\hlstd{}\hlopt{(}\hlstd{}\hlkwb{pre}\hlstd{}\hlopt{(}\hlstd{y}\hlopt{)\ }\hlstd{}\hlkwa{and\ not\ }\hlstd{}\hlopt{(}\hlstd{u\ }\hlopt{$>$\ }\hlstd{m\textunderscore max}\hlopt{{*}}\hlstd{t}\hlopt{+}\hlstd{n\textunderscore max}\hlopt{));}\\ %\hllin{17\ }\hlstd{}\hlstd{\ \ }\hlstd{}\hlkwa{annotation\ }\hlstd{}\hlopt{(}\hlstd{Diagram}\hlopt{(}\hlstd{graphics}\hlopt{));}\\ %\hllin{18\ }\hlstd{}\hlkwa{end\ }\hlstd{Controller}\hlopt{;}\hlstd{}\\ %\mbox{} %\normalfont %\normalsize \end {document} (* LaTeX generated by highlight 3.12, http://www.andre-simon.de/ *)