ALBANY — The way New York calculates property value for renewable energy installations is legal again — the state legislature has approved a bill that shores up a section of state law that sets guidelines for how the value of solar and wind facilities should be calculated by local governments when negotiating alternative tax agreements.

The fix comes to a portion of state real property tax law, section 575-b, which has been subject to some criticism from upstate communities and was ruled illegal by a state court in March.