# Example of config solver parameters PLECS XML-RPC with python

**URL:** <https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684>\
**Category:** PLECS\
**Tags:** python, xml-rpc\
**Created:** [August 17, 2019, 5:47pm UTC](https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684 "2019-08-17T17:47:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trieuto](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@trieuto](https://forum.plexim.com/u/trieuto)\
**Post date:** [August 17, 2019, 5:47pm UTC](https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684/1 "2019-08-17T17:47:55Z")

</div>

hallo,

I have seen the manual file. but there is not clear how you set the solver parameters using

opts = {‘ModelVars’ : { ‘varL’ : 50e-6 } }

would you please make another opts for changing solver to discrete with start and stop time so i can imagine how is the structure of the Opts when using SolverOpts

---

<div class="post-metadata">

**Author:** ![Oliver\_Schwartz](https://dub1.discourse-cdn.com/flex006/user_avatar/forum.plexim.com/oliver_schwartz/32/6_2.png) [@Oliver\_Schwartz](https://forum.plexim.com/u/Oliver_Schwartz)\
**Post date:** [August 19, 2019, 4:05am UTC](https://forum.plexim.com/t/example-of-config-solver-parameters-plecs-xml-rpc-with-python/684/2 "2019-08-19T04:05:36Z")

</div>

```auto
opts = {'ModelVars' : { 'varL' : 50e-6 },         

```

```auto
        'SolverOpts' : { 'Solver' : 'discrete',

```

```auto
                         'StartTime' : 0,

```

```auto
                         'StopTime' : 0.1

```

```auto
                       }
       }

```
