我正在尝试打开.tex
文件。
我不确定我是否已达到(可能)令人惊讶的复杂过程的底部。有人告诉我,我可以用Notepad ++来做,我继续下载。结果如下:
%sample file for Modelica 2011 Conference paper
\documentclass[11pt,a4paper,twocolumn]{article}
\usepackage{graphicx}
% uncomment according to your operating system:
% ------------------------------------------------
\usepackage[latin1]{inputenc} %% european characters can be used (Windows, old Linux)
%\usepackage[utf8]{inputenc} %% european characters can be used (Linux)
%\usepackage[applemac]{inputenc} %% european characters can be used (Mac OS)
% ------------------------------------------------
\usepackage[T1]{fontenc} %% get hyphenation and accented letters right
\usepackage{mathptmx} %% use fitting times fonts also in formulas
% do not change these lines:
\pagestyle{empty} %% no page numbers!
\usepackage{geometry} %% please don't change geometry settings!
\geometry{left=20mm, right=20mm, top=25mm, bottom=25mm, noheadfoot}
% begin the document
\begin{document}
\thispagestyle{empty}
\title{\textbf{Implementation of a Modelica Library\\
for Simulation of Refrigeration Systems}}
\author{Torge Pfafferott \quad Gerhard Schmitz\\
Technical University Hamburg-Harburg, Department of Technical Thermodynamics\\
Denickestr. 17, 21075 Hamburg}
\date{} % <--- leave date empty
\maketitle\thispagestyle{empty} %% <-- you need this for the first page
\abstract{
The physical modelling and transient simulation of
refrigeration systems can be useful within the specification,
development, integration and optimisation.
Therefore, a model library for vapour compression cycles has been implemented.
The library is based on the free Modelica library ThermoFluid and contains basic correlations for
heat and mass transfer and pressure drop, partial components for control volumes and
flow resistances and advanced ready-to-use models for all relevant
components of refrigeration systems like pipes, heat exchangers,
compressor, expansion devices and accumulator.
}
\emph{Keywords: refrigeration; compression cycle; simulation; thermofluid; CO2; R134a}
\section{Introduction}
The modeling and simulation of refrigeration systems is of interest
for several problems:
\section{Library for refrigeration systems}
The aim of the modelling is to implement a library with physical based
models of components of refrigeration systems. At the moment the
library enables investigations with two refrigerants (CO$_2$, R134a). But
the realised structure allows the extension of the library by other
refrigerants.
\subsection{ThermoFluid library}
The implemented refrigeration library is based on the free Modelica library ThermoFluid
\cite{eborn}, \cite{tum}, \cite{thermofluid}. The
ThermoFluid library, especially its base classes and partial
components, offers a good base for the modelling of refrigeration systems with
respect to the implementation of the three balance equations and the
method of discretisation.
\section{Transient simulation of a CO$_2$-system}
In the following, results of the transient simulation of the above mentioned CO$_2$-system are presented.
The results are compared with data of a start up of the
system and following step changes in compressor speed as shown in
Figure \ref{fig5}.
\begin{figure}[h]
%uncomment next line to include a graphic file
%\centerline{\includegraphics[width=6cm, angle=-90]{fig5.eps}}
%and comment out next line
\centerline{\framebox[6cm]{\rule{0cm}{3.5cm} figure example}}
\caption{Step changes in compressor speed and run of air inlet
temperature at the evaporator in the experiment; set as boundary
condition of simulation run}
\label{fig5}
\end{figure}
\begin{thebibliography}{00}
\addcontentsline{toc}{chapter}{References}
\bibitem{eborn} Eborn J. On Model Libraries for Thermo-hydraulic
Applications. Lund, Sweden: PhD thesis, Department of Automatic
control, Lund Institute of Technology, 2001.
\bibitem{tum}Tummescheit H. Design and Implementation of Object-Oriented Model Libraries
using Modelica. Lund, Sweden: PhD thesis, Department of Automatic
control, Lund Institute of Technology, 2002.
\bibitem{thermofluid} Tummescheit H, Eborn J. Chemical Reaction
Modeling with ThermoFluid/MF and MultiFlash. In: Proceedings of the 2th
Modelica Conference 2002, Oberpfaffenhofen, Germany, Modelica
Association, 18-19 March 2002.
\end{thebibliography}
\end{document}
在我看来,这不是查看文档的正确方法。有人可以让我知道我是否正确,如果是的话,我怎样才能正确查看文件?
答案 0 :(得分:32)
.tex文件应该是LaTeX源文件。
如果是这种情况,该文件包含LaTeX文档的源代码。您可以使用任何文本编辑器打开它(记事本,记事本++应该可以工作),您可以查看源代码。但是,如果要查看最终格式化文档,则需要安装LaTeX发行版并编译.tex文件。
当然,任何程序都可以使用任何扩展名编写任何文件,因此如果这不是LaTeX文档,那么我们无法知道您需要安装哪些软件才能打开它。也许如果您将文件上传到某个地方并将其链接到您的问题中,我们就可以看到该文件并为您提供更多帮助。
是的,这是LaTeX文档的源代码。如果您能够将其粘贴到此处,那么您已经在查看它了。如果要查看已编译的文档,则需要安装LaTeX发行版。您可以尝试安装MiKTeX,然后可以使用它将文档编译为.pdf文件。
您还可以查看此问题并回答如何操作:How to compile a LaTeX document?
此外,还有一个在线LaTeX编辑器,您可以将代码粘贴到那里以预览文档:https://www.overleaf.com/。
答案 1 :(得分:1)
我不知道文件中的.tex扩展名是什么意思。如果我们说它是任何扩展名的文件,你有几种阅读方法。
我必须假设你使用的是Windows,因为你提到了记事本++。
使用记事本++。 右键单击该文件,然后选择“使用notepad ++编辑”
使用记事本 将文件扩展名更改为.txt,然后双击该文件。
使用命令提示符。 打开文件所在的文件夹。 按住shift并右键单击。 (不在文件上,而是在文件所在的文件夹中。) 选择“打开命令窗口” 从命令提示符下键入:“type filename.tex”
如果这些不起作用,我需要更详细的说明它们是如何工作的。您可能遇到的错误或您可能希望在文件中出现的错误可能有所帮助。