Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Present library at modelica.cz #126

Closed
tbeu opened this issue Oct 20, 2016 · 71 comments
Closed

Present library at modelica.cz #126

tbeu opened this issue Oct 20, 2016 · 71 comments

Comments

@tbeu
Copy link
Collaborator

tbeu commented Oct 20, 2016

I believe it is worth to present the recent features and release at modelica.cz - the upcoming Modelica Conference in Praha. The last paper was from 2009 and since then we have put a lot of new features and fixes (for Modelica and tool compatibility) into M_DD that are worth a new article. Additionally, we figured out the trouble-makers (in the library, I mean).

@bernhard-thiele Would this be fine for you? Would you find the some time to contribute before the submission deadline Dec 30, 2016?

@vwaurich Would you help to contribute (either on article or feature support for #116 or improved OM compatibility)?

Thanks for your feedback!

@tbeu tbeu added the question label Oct 20, 2016
@tbeu tbeu changed the title Present Modelica_DeviceDrivers at modelica.cz? Present library at modelica.cz? Oct 20, 2016
@vwaurich
Copy link

Sounds good. If I have some spare time, I will check the bluetooth stuff.

@bernhard-thiele
Copy link
Collaborator

It's a very good idea, indeed.

A good reason to invest some additional effort into it and possibly also to develop a little demonstration that beefs up the story. We just ordered some Arduino and Raspberry Pi boards in order to play with them in the context of code generation. Maybe this can be connected. There now has been progress, particularly thanks to @vwaurich, to improve OpenModelica support for MDD. Hence, MDD will work on two platforms and with three tools. That would make a good message worth spreading in a Modelica paper.

@tbeu tbeu removed the question label Oct 21, 2016
@tbeu tbeu changed the title Present library at modelica.cz? Present library at modelica.cz Oct 21, 2016
@tbeu
Copy link
Collaborator Author

tbeu commented Oct 21, 2016

@bernhard-thiele @vwaurich Thanks for your positive feedback. Here's my first proposal. Please comment on it or edit it.

Add the TeX sources in Resources/doc/Modelica2017 for shared access.

Working titel: Towards a standard-conform, platform-generic and feature-rich Modelica device drivers library

Structure

  1. Introduction @bernhard-thiele
  2. Enhanced Modelica standard compliance @bernhard-thiele @tbeu
  3. Enhanced tool support @vwaurich @bernhard-thiele @tbeu
  4. New features
  5. Open issues and pitfalls @bernhard-thiele @tbeu
  6. Application examples @vwaurich @bernhard-thiele
    • 6.1 Arduino
    • 6.2 Raspberry Pi
    • 6.3 HID Joystick
  7. Outlook @vwaurich @bernhard-thiele @tbeu
  8. Acknowledgements

@bernhard-thiele
Copy link
Collaborator

The proposed structure should be a good start. Additional features that should be worth mentioning in (4.):

  • Keyboard, UDP, Joystick, Space Mouse and shared memory was mentioned in the old paper, but it was Windows only. Having it cross-platform is new (and for some of these blocks also the Windows implementation changed considerably).
  • Softing CAN bus (Windows),
  • SocketCAN (Linux)
  • Comedi interface (Linux, http://www.comedi.org/)
  • Serial port on Linux and Windows

Of course, some of these are not cross-platform, but I think this could be discussed in "Open issues and pitfalls". Also, real-time execution/simulation might fit somewhere within the structure.

@tbeu
Copy link
Collaborator Author

tbeu commented Oct 23, 2016

Should I push the template structure to a modelica2017 branch?

@bernhard-thiele
Copy link
Collaborator

Yes, probably good to have it in its own branch

@tbeu
Copy link
Collaborator Author

tbeu commented Oct 24, 2016

@bernhard-thiele @vwaurich The proposed paper is automatically built with every git push to branch modelica2017 and available from drone.io.

@casella The official ModelicaConference2017-pdfLaTeX-template.zip from https://modelica.org fails to build with ! Package keyval Error: hidelinks undefined. on legacy Ubuntu 12.04. See bd59b6a for a fix that worked for me.

tbeu added a commit that referenced this issue Oct 24, 2016
tbeu added a commit that referenced this issue Oct 24, 2016
@tbeu
Copy link
Collaborator Author

tbeu commented Oct 25, 2016

@bernhard-thiele Can we speak of a v1.5.0 release (with backward-compatible new features) that will be available just before MoCo 2017?

@bernhard-thiele
Copy link
Collaborator

@tbeu Yes, we should manage this.

@bernhard-thiele
Copy link
Collaborator

@casella @tbeu I updated the latex template. Seems like the hidelinks option was added 2011, so it should be available on most installations. Anyway, I changed it now for better compatibility with legacy installations.

@tbeu
Copy link
Collaborator Author

tbeu commented Oct 25, 2016

Seems like the hidelinks option was added 2011

Yes, that is what I also found. Ubuntu 12.04 uses TeXLive 2009.

@bernhard-thiele
Copy link
Collaborator

I asked @sjoelund whether he was interested in helping with the paper and the application examples and was very happy that he was positive about it.

This is a perfect fit since he is leading our ARM code generation experiments for the Raspberry Pi and is also responsible for the recently added OpenModelica real-time synchronization feature. I will work with him at the application examples and other things. Together with the help of @vwaurich this now becomes an excellent opportunity that all necessary parts of OpenModelica can be targeted to get better support for MDD, something which is on my wish list since quite some time :-).

@tbeu
Copy link
Collaborator Author

tbeu commented Oct 26, 2016

@bernhard-thiele Can you please update the above article structure with respect to the authors. Thanks.

@tbeu
Copy link
Collaborator Author

tbeu commented Nov 9, 2016

Just saw https://github.com/vesselEfficiency/vesselEfficiency-0.1 which utilizes the UDP send feature (to LabVIEW) of M_DD.

@tbeu
Copy link
Collaborator Author

tbeu commented Nov 11, 2016

Edited 5.5 and 5.7 in the above structure proposal to point to the newly created MLS issues mo:#2103 and mo:#2104.

@bernhard-thiele
Copy link
Collaborator

I contacted @tbellmann and talked with him about the paper effort. I'm now happy that he will join this article effort, particularly by contributing a project application example from DLR and also by writing about the historic background in the introduction.

I updated the latex sources.

  • I changed to the up-to-date Modelica Conf. Template
  • I added all authors including their affiliation (please check it)
  • I started with a tentative structure similar, but also a bit different to the one above. This is of course not fixed and I expect that it will be adapted during the writing process
  • I also added who is tentatively responsible for which sections. Also this is of course not fixed.

I will put some more work into the draft and related tickets at the weekend.

@tbeu
Copy link
Collaborator Author

tbeu commented Nov 11, 2016

When checking the pdf from drone.io, I noticed that

bernhard-thiele added a commit that referenced this issue Jan 20, 2017
bernhard-thiele added a commit that referenced this issue Jan 20, 2017
bernhard-thiele added a commit that referenced this issue Jan 20, 2017
Related to #126
@bernhard-thiele
Copy link
Collaborator

I essentially took all of PR #197 except the commit for the "Raw Data Buffer" section, see commit message of 7a5b417. One could polish the section, but time was running out.

@bernhard-thiele
Copy link
Collaborator

bernhard-thiele commented Jan 20, 2017

I also commented out two figures in the embedded section, see 05309e0. The figures are a bit hard to read (things are very tiny and sparse) and I wanted to save some space so that we don't have just a few lines that start a new page (this reduces the paper to 11 pages).

The figures are not essential to understand the text, though it could be nice to have them if they
are improved so that they depict things more readable and compact.
However, also here time was running out...

@bernhard-thiele
Copy link
Collaborator

I now resubmitted the paper. Thanks for all the hard work and keep fingers crossed!

@tbeu
Copy link
Collaborator Author

tbeu commented Jan 21, 2017

I just noticed a badly broke ")" in section 3.4, page 8. Can you pls add the missing mbox.

bernhard-thiele added a commit that referenced this issue Jan 22, 2017
bernhard-thiele added a commit that referenced this issue Jan 22, 2017
@bernhard-thiele
Copy link
Collaborator

Resubmitted paper with the fixes shown above

bernhard-thiele added a commit that referenced this issue Mar 15, 2017
- use of improved conference latex template
- improved figure placement, particularly, some figures are now
  closer to the place at which they are referenced.

Related to #126
@bernhard-thiele
Copy link
Collaborator

After some improvements (see above) I've now submitted the final version for the conference proceedings. It's still possible to resubmit until Apr. 1 if you find an issue.

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 16, 2017

@bernhard-thiele Please check #200 for some very minor and mainly cosmetic changes.

@bernhard-thiele
Copy link
Collaborator

Sorry for reacting that late. Strangely, it seems I didn't get an email notification for this. But I got one once you mentioned me in issue 200. Thanks for the changes, I took them and resubmitted the paper.

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 21, 2017

Thanks for merging and writing the article.

Should this issue be closed by squash-merging the modelica2017 branch to master now?

@bernhard-thiele
Copy link
Collaborator

Yes, I could simply add the "doc" folder to the master and make a new commit. There are 237 commits to squash and I just got a strange error when I tried to do the git squash locally. Any preference?

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 21, 2017

@bernhard-thiele I noticed that the official paper looks different than my generated paper created by up-to-date MikTeX installation, see e.g., section 2.2, third line of second paragraph.

Example: indent before blocks
official miktex

Version:

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2017.3.21)

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 21, 2017

@bernhard-thiele I attach the MikTeX generated paper for your convenience such you can do a side-by-side comparison. See e.g. section 5 which starts on page 10 in the official paper but on page 11 in the MikTeX generated paper.

Modelica2017.zip

@bernhard-thiele
Copy link
Collaborator

@tbeu Strange, though it is almost the same there are small differences at some places. Anyway, your version looks a bit nicer. I will resubmit your version.

@thorade
Copy link
Contributor

thorade commented Mar 23, 2017

If you are aiming for typographical perfection you should also try the microtype package:
http://tex.stackexchange.com/a/586/8569
http://www.ctan.org/pkg/microtype

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 23, 2017

@bernhard-thiele #202 fixes some minor language issues. Sorry for the late point in time. I can provide new MiKTeX-PDF once you merged it.

@bernhard-thiele
Copy link
Collaborator

@tbeu okay, thanks for the fixes. If you generate the MiKTeX-PDF, I will resubmit the paper

@tbeu
Copy link
Collaborator Author

tbeu commented Mar 24, 2017

Thanks. Here it is.

Modelica2017.zip

@bernhard-thiele
Copy link
Collaborator

Thanks, I just updated it on easychair.

@tbeu
Copy link
Collaborator Author

tbeu commented May 12, 2017

http://dx.doi.org/10.3384/ecp17132713 will be the DOI, but not yet there. Just in case you wwant to add to the the Readme or release notes.

@tbeu tbeu closed this as completed May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants