Possibilities to change parameter in a simulation script used to calculate other paramters in the initialization file

Hi,
Is it possible to change a parameter in a simulation script where this parameter it’s used to calculate other parameters in the initialization file .m?
Example:
i would like to change the Vgrid=240 parameter,
but it’s is used to calculate
Vgrid_pk = 1.4142 * Vgrid; and others related parameters.

Many Thanks

Yes, you can change the constant values and any underlying calculations in the simulation script.