Jump to content

christiankeh

Moderators
  • Content Count

    20
  • Joined

  • Last visited

About christiankeh

  • Rank
    Beginner

Profile Information

  • Are you University user?
    No

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you very much for sharing, Nils - this is really helpful! Would you mind to share (a simple version of) the Modelica code as well - just for the sake of being able to copy-paste (for lazy people like me;)? Thanks, again + regards Christian
  2. Hi Rocket;), fwiw: I added a slide comparing library and palette concerning some aspects like propagation of changes. I would also, as Liv stated, go for a library approach. Best Christian
  3. Dear Yubuchi-san, as far as I understood, it is not possible to switch between two different Modelica components during a running simulation, because that would require a new compilation to create a new set of equations (before the simulation you could use the include diagram block, but that is not your question, right?). One option (maybe, not the smartest implementation;) could be to use both Modelica components in parallel and switch between their outputs depending on a specific condition. I attached a very simple example for that. Does that help? Best regards Christian SwitchSignals.scm
  4. Thank you very much, Lorenzo! Best Christian
  5. Dear script experts, Do you know, if there is a way (e.g. by using cells) to write strings into a kind of "matrix" to use in a for loop afterwards. The idea behind is to make many different plots, which are always stored under different names and then have different titles. Maybe, someone has already done something similar? Thank you in advance! Christian
  6. Thank you, Priyanka! Meanwhile, I found a second option as follows: set (get(gca, 'xlabel'), 'fontsize', 14); Best Christian
  7. Dear Compose experts, is there a way to edit the legend of a plot in compose, i.e. position and font size? As far as I know, for the position something like the following works: legend('Location', 'northeast') oder legend('Location', 'northwest') ...but, what about the size? Thank you in advance for your help! Christian
  8. Dear Yubuchi-san, being far away from a semiconductor expert, I had a short look at the corresponding package of the Modelica palette. Short answer: yes, this is possible! For some of the existing electrical components the heat port is already enabled (please, see screenshot below). In this case, the electrical power loss can be transferred into a thermal power (e.g. to heat up surrounding mechanical components). This kind of conditional instantiation is also used for other electrical components, so it is useful to check their parameter dialogue. If it is not existing for the components you are looking for, it can be added – as it is the case for self-defined ones. Hope, this helps – best regards! Christian ____________________________________________________________________ Dear experts, Can Activate-Modelica compute heat generated by semiconductor device within an electrical circuit? Thanks, Minoru Yubuchi
  9. Dear all, I'm trying to create a 2D plot of a 3D map using the contour fucntion. The following code is already a valid basis, i.e. it creates the plot below: x = -2:0.2:2; y = -2:0.2:3; [X,Y] = meshgrid(x,y); Z = X.*exp(-X.^2-Y.^2); contour(X,Y,Z); What I would like to have instead, is lines instead of surfaces and labels showing the value of each line (e.g. like the image below). Is there a way to realize this in Compose? Thank you in advance! Christian
  10. Dear all, has someone already thought about having some kind of R(educed) O(rder) M(odel) block within Activate in the sense of directly using the result of a model order reduction, e.g. created in use of Hyperstudy? Even better would be a block, that directly calls Hyperstudy to execute a model order reduction. Curious to get your thoughts on this... Best regards, Christian
  11. For those, who are interested: I just found the block that I was looking for - SimulatorInfo from the palette Activate\ActivationOperations contains all the necessary information. Best Christian
  12. Dear all, what is the best way to use the current solver step size of a model within the model itself for further calculation? A minimum example would be very much appreciated! Thank you in advance! Christian
  13. Great, exactly what I needed - thank you, Ganhai! Best regards, Christian
×
×
  • Create New...