# Passing initial soc and starting solution together

**URL:** https://pybamm.discourse.group/t/passing-initial-soc-and-starting-solution-together/359
**Category:** Solvers
**Created:** [30 June 2025 09:54 UTC](https://pybamm.discourse.group/t/passing-initial-soc-and-starting-solution-together/359 "2025-06-30T09:54:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![harisankarsuresh](https://yyz2.discourse-cdn.com/free1/user_avatar/pybamm.discourse.group/harisankarsuresh/32/151_2.png) [@harisankarsuresh](https://pybamm.discourse.group/u/harisankarsuresh)
#### Post date: [30 June 2025 09:54 UTC](https://pybamm.discourse.group/t/passing-initial-soc-and-starting-solution-together/359/1 "2025-06-30T09:54:34Z")

</div>

If i pass `initial_soc` and `starting_solution` into of `sim.solve` which has been run using experiments, will the initial soc be overwritten from starting solution?

```python
sim.solve(
                    solver=safe_solver,
                    starting_solution=solutions.last_state,
                    callbacks=callback,
                    initial_soc=0.5,
                )

```
