Hi Biljana,
If you are trying to reference a result variable for coal production within the coal production module, this will give you an error. You can only reference result variables for results calculated before the coal production module (LEAP's calculations start at the top of the tree to the bottom).
Since coal production (before considering module imports and exports) is equal to the coal demand, you can add up the coal demands in the demand and transformation branches that consume coal, and reference the export of coal as 30% of total coal demands (similar to how to you created the expression for electricity exports). Your expression may look something like this:
0.30 * (Demand:Energy Demand Final Units[Thousand TOE, Fuel=Coal bituminous] + Transformation\Electricity Generation:Inputs[Thousand TOE, Fuel=Coal bituminous])
Hope this helps!
Emily