-
Notifications
You must be signed in to change notification settings - Fork 4
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
MATLAB issue compilation #2
Comments
@irynakulchytska can you have look? |
@brunolnetto just to be sure: you have getdp and gmsh installed? which platform are you running on? |
Current update: I HARDCODED the getdp path since it does not install as usual and now the log message is on Octave. On Matlab it still throws me the same error.
|
Your latest output looks reasonable. If future problems occur it may be a good idea to disable the parallel package. It's obviously important for any speedup but it makes debugging more complicated (I can see that |
It is reasonable, but does not got further. It both do not continue up this log and do not show up the simulation figures. |
Did you try to disable the parallel toolbox? |
It started the sequential time instead, which was awaited. I am waiting it finish to simulate.
|
It would be good if a progress bar is on use. Advice: https://github.com/brunolnetto/matlab-utils/tree/master/interface |
@brunolnetto, thanks for your interest in our code.
Please be aware of the fact that the fine solver takes quite a lot of time due to the very fine discretization of the PWM-signal. In particular, based on my observations, the fine solution on one subinterval (out of 20) takes about one hour. In case you are not specifically interested in the PWM-inputs you could alternatively solve the system with a sinusoidal excitation also on the fine level, i.e., assign the variable ode_f to be the same as ode_c. This would allow you to set a bigger step size in opt_f, e.g., 'TimeStep',1e-5, and shorten the simulation time by 10 times compared to the current setting. I hope you could find this useful. |
I am interested on it since we at University of São Paulo simulate dynamical systems with PWM signal, oftentimes without success. Almost certainly it occurs due to lack of mathematical rigor. Would you provide us some advice regarding the control of, for example, a high oscilatory LC system, when a PWM signal is on use? |
@brunolnetto Sorry this issue was forgotten. I assume that you lost interest in the mean time hence I will close this issue. Feel free to contact me if I am wrong. |
I will lost interest on questions only when I die. :-P |
So you still want to simulate systems driven by PWM using Parareal? |
A more interesting question is: Can we open either a bachelor or master opportunity to someone with interest on dynamic systems driven by pulse-width-modulated signals? I think Herr Adamy or Konigorski may have interest on it. |
There are some conditions which may be of interest in case you provide some user-friendly warnings: PWM Signal are specific enough to allow parametrization given by parameter tuple (V_-, V_+, alpha, T), such that V is a voltage with lower (-) and upper (+) values such that V_- is strictly lower than V_+, alpha is the duty cycle such that it is between 0 and 100 (or 0 and 1, although I prefer the 100-spanned inteval), and T is the period interval such that it is stricly greater than 0. Great! The parallel toolbox MUST be aware of these (such that)-conditions and provide (warning, error)-conditions to avoid confusion on library usage. There are other conditions related to system under these PWM-input (for example, lipschtzian finity everywhere), but they are out of scope for the library itself. |
Feel free to open such a thesis (in São Paulo?). If you have contact to my colleagues Prof. Adamy or Prof. Findeisen (who is the successor of Prof. Konigorski) then please use this connection. |
The main concern from user perspective is to provide both examples and a clean interface for usage. Such initiatives on thesis development must not have surprises to assure student success. |
I am aware your results are assured by error decay, which assure results correctness given hypothesis. I want to present the article about barycenter procedure application on optimization https://arxiv.org/abs/1801.10533 This may give some insights on decay for objetive function with unknown structure but its value for given point X. It has also a parallel version as you can check at page 6. |
Thanks. I will have a look! |
Ja wohl! |
Hi,
I try to compile the library on a MATLAB v2017a, but the default example "runme_para_im3kw" do not compile. The log on the terminal is below. If necessary, I can provide further information.
The text was updated successfully, but these errors were encountered: