A railroad system comprising a first vehicle and a second vehicle electrically connected to a certain power line, wherein the first vehicle includes a drive part, an inverter configured to drive the drive part by acquiring power from the power line, an electric storage device configured to supply power to the power line or accumulate power from the power line, and a control part configured to control feasibility of charge or discharge of the electric storage device based on a detection value of any of a charge accumulation amount of the electric storage device, a distance between the first vehicle and the second vehicle, or a voltage value of the power line, the system being characterized by: when it is assumed that the detection value when charge or discharge of the electric storage device is switched from an allowable state to a prohibited state is a first set value, and the detection value when charge or discharge of the electric storage device is switched from a prohibited state to an allowable state is a second set value, the first set value and the second set value are different from each other, when a detection value of a distance between the first vehicle and the second vehicle is larger than a first set value, the control part prohibits charge and discharge of the electric storage device, when the detection value of the distance between the first vehicle and the second vehicle is smaller than a second set value, the control part allows charge and discharge of the electric storage device, the first set value is larger than the second set value, and when the detection value of the distance between the first vehicle and the second vehicle is between the first set value and the second set value, the control part maintains a feasible state of charge or discharge of the electric storage device. the first vehicle includes a drive part, an inverter configured to drive the drive part by acquiring power from the power line, an electric storage device configured to supply power to the power line or accumulate power from the power line, and a control part configured to control feasibility of charge or discharge of the electric storage device based on a detection value of any of a charge accumulation amount of the electric storage device, a distance between the first vehicle and the second vehicle, or a voltage value of the power line, the system being characterized by: when it is assumed that the detection value when charge or discharge of the electric storage device is switched from an allowable state to a prohibited state is a first set value, and the detection value when charge or discharge of the electric storage device is switched from a prohibited state to an allowable state is a second set value, the first set value and the second set value are different from each other, when a detection value of a distance between the first vehicle and the second vehicle is larger than a first set value, the control part prohibits charge and discharge of the electric storage device, when the detection value of the distance between the first vehicle and the second vehicle is smaller than a second set value, the control part allows charge and discharge of the electric storage device, the first set value is larger than the second set value, and when the detection value of the distance between the first vehicle and the second vehicle is between the first set value and the second set value, the control part maintains a feasible state of charge or discharge of the electric storage device. when it is assumed that the detection value when charge or discharge of the electric storage device is switched from an allowable state to a prohibited state is a first set value, and the detection value when charge or discharge of the electric storage device is switched from a prohibited state to an allowable state is a second set value, the first set value and the second set value are different from each other, when a detection value of a distance between the first vehicle and the second vehicle is larger than a first set value, the control part prohibits charge and discharge of the electric storage device, when the detection value of the distance between the first vehicle and the second vehicle is smaller than a second set value, the control part allows charge and discharge of the electric storage device, the first set value is larger than the second set value, and when the detection value of the distance between the first vehicle and the second vehicle is between the first set value and the second set value, the control part maintains a feasible state of charge or discharge of the electric storage device.