<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>I strongly suspect that anything that would be useful would be specific to batteries, and would perhaps be best done in batch mode to generate a model that is then hand-tweaked and selected for use in xcos -- but I say that in part because over the years I've come to dislike graphical solvers.</p>
<p>I think it's possible to build a subsystem out of blocks that can be "masked" so that you can enter parameters in the usual way -- if you could boil your battery model down so that it had a few parameters, you could translate your measured data into parameters once, then use parameterized blocks for the battery behavior.</p>
<p>On 2017-04-12 07:49, phillip mobley wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Sure thing Tim,
<div> </div>
<div>Thank you for pointing out those details. I will share as much as I can.</div>
<div> </div>
<div>I am simulating the behavior of a battery as it is discharging into a circuit. I recorded data from the battery (for example, the voltage and current and internal resistance) during testing. I currently have the data at different time steps inside of an excel file.</div>
<div> </div>
<div>I would like to test this battery under different circuit configurations. However, changing the circuit can be time consuming and expensive. I was thinking that I could use xcos ability to do circuit simulation to construct a basic model of the battery that I am using that utilizes the data that I gathered. This way I can simulation the battery under different circuit configurations very easily.</div>
<div> </div>
<div>So I was wondering if there was a way that I could import my data into xcos to construct a model for simulation.</div>
<div> </div>
<div>I actually created the system to simulate the battery.</div>
</div>
<div class="gmail_extra"><br />
<div class="gmail_quote">On Tue, Apr 11, 2017 at 3:48 PM, Tim Wescott <span><<a href="mailto:tim@wescottdesign.com">tim@wescottdesign.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">"Simulate the data"?<br /><br /> Surely you mean you wish to simulate the system which was used in the<br /> measurement!<br /><br /> You don't give much detail, but I suspect that what you want to do is<br /> to develop a model of the system that fits the experiment, and then use<br /> that model in your simulations.<br /><br /> The general term for generating the model is called "system<br /> identification", but that covers a pretty broad swath.<br /><br /> Can you share the test you did, the sort of data you collected, the<br /> sort of system you're trying to model, and how well you know the system<br /> itself?<br />
<div>
<div class="h5"><br /> On Tue, 2017-04-11 at 15:10 -0400, phillip mobley wrote:<br /> > Hello all,<br /> ><br /> > I have some data from a test that I preformed. I was looking to<br /> > simulate this data under different conditions and I was wondering if<br /> > there is a palette in xcos that would allow me to input data (maybe<br /> > from an excel spreadsheet or copy paste) in order to use in the<br /> > simulation?<br /> ><br /> > Is this possible with xcos?</div>
</div>
> ______________________________<wbr />_________________<br /> > users mailing list<br /> > <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br /> > <a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/<wbr />mailman/listinfo/users</a><br /> --<br /><br /> Tim Wescott<br /><a href="http://www.wescottdesign.com">www.wescottdesign.com</a><br /> Control & Communications systems, circuit & software design.<br /> Phone: <a href="tel:503.631.7815">503.631.7815</a><br /> Cell:  <a href="tel:503.349.8432">503.349.8432</a><br /><br /><br /><br /> ______________________________<wbr />_________________<br /> users mailing list<br /><a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br /><a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/<wbr />mailman/listinfo/users</a></blockquote>
</div>
</div>
</blockquote>
<p><br /></p>

</body></html>