Distributed energy resources under net metering: optimal decisions, incentives and aggregation | Synapse